Skip to content

Conversation

@ManifoldFR
Copy link
Member

@ManifoldFR ManifoldFR commented Oct 23, 2025

New features

  • Replace const std::string & by std::string_view in several free functions and class ctor/member functions
  • Python bindings now support passing std::string_view as argument to C++ and returning std::string_view to Python (hi @jorisv)
  • Added a hash function for std::string which supports transparent/heterogeneous lookup (through Boost's unordered_map which has the right find(), erase(), etc overloads), notably using std::string_view

Resolves #363

@ManifoldFR ManifoldFR force-pushed the string-view-enhancements branch from 0cdf4d6 to 77042ed Compare October 23, 2025 13:14
@ManifoldFR ManifoldFR marked this pull request as ready for review October 23, 2025 13:14
@ManifoldFR ManifoldFR merged commit 15d2b99 into main Oct 23, 2025
18 checks passed
@ManifoldFR ManifoldFR deleted the string-view-enhancements branch October 23, 2025 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extended support for C++17 string_view

2 participants