13 Oct
2019
13 Oct
'19
5:58 p.m.
On Sun, Oct 13, 2019 at 5:59 PM Vinnie Falco via Boost
On Mon, Sep 9, 2019 at 9:59 AM Vinnie Falco
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.