Boost logo

Boost :

From: Daniele Lupo (jepessen_at_[hidden])
Date: 2024-02-08 11:58:43


My two cents is that there are already a lot of strings and string_view
implementation out there. Exposing this does not add anything, but adds
only another type of string that must be handled.

On 08/02/2024 12:28, Дмитрий Архипов via Boost wrote:
> boost::core::string_view is a string_view implementation that (unlike
> boost::string_view from Utility) can interconvert with
> std::string_view. This functionality was necessary for Boost.JSON to
> drop the standalone mode, because people who have access to C++17
> prefer to use std::string_view wherever they can. At the time there
> was no consensus on whether the type should be made public.
>
> Now in addition to Boost.JSON the type is also used at least by
> Boost.URL. And recently added Charconv is also using it. So, I want to
> raise the question again: should we make the type public and refer to
> it directly in our libraries' docs, rather than considering it an
> implementation detail?
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk