Boost logo

Boost :

From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2019-10-13 17:58:16


On Sun, Oct 13, 2019 at 5:59 PM Vinnie Falco via Boost
<boost_at_[hidden]> wrote:
>
> On Mon, Sep 9, 2019 at 9:59 AM Vinnie Falco <vinnie.falco_at_[hidden]> wrote:
> > ...static_string...
>
> I would like feedback on the possibility of removing the Traits
> template parameter. It seems rather pointless, and C++11 char_traits
> is not constexpr. We could probably cobble a way to support a
> non-constexpr char_traits for all but char and wchar_t, but I think it
> would be better not to have it at all because really, who uses char
> traits? It is an extra compilation burden with no benefit.

Unless you want to reimplement C string functions, you will need an
equivalent of char_traits. And I really hope you don't reimplement C
functions, because they would be most likely less optimized.


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