boost::string_ref
summary
Introduces boost::string_ref, a non-owning string view type from Boost that provides read-only access to character data without copying. Covers how it represents substrings and interfaces with existing C++ string/character APIs to improve performance by avoiding allocations.
AI-written summary · about
chapters (10)
- 0:00Einleitung
- 0:39What is boost::string_ref?
- 1:47Why is it good?
- 3:1050 ways to split a string
- 3:39Splitter using boost::string_ref
- 4:25Benchmark results
- 4:44string_ref as data member?
- 6:03C++11 to the rescue
- 7:27From Algorithm to Lazy Range
- 8:18Working examples








