13 Dec
2025
13 Dec
'25
9:31 a.m.
Andrey Semashev wrote:
On 13 Dec 2025 03:13, Peter Dimov via Boost wrote:
Andrey Semashev wrote:
For users, boost::core::string_view should not exist. At least, that's how I understand it should be.
I have no idea what this is supposed to mean.
AFAIR, boost::core::string_view was supposed to be used as function arguments or return types so that users can pass or receive the returned values into std::string_view or boost::string_view, whichever they use in their code bases. I.e. users were not supposed to use boost::core::string_view directly, it's an implementation detail of Boost, so for them it shouldn't exist.
It's not possible for a part of the public interface to be "an implementation detail".