4 Nov
2025
4 Nov
'25
6:50 p.m.
Peter Koch Larsen wrote:
Why not just let boost::string_view be an alias to std::string_view when you compile in C++17 mode?
Because then the compiled library and the user code need to either both be built in C++17 mode, or both be built in not-C++17 mode, and this creates problems if you're using a prebuilt Boost, e.g. one from apt-get.