8 Feb
2024
8 Feb
'24
4:24 p.m.
Andrey Semashev wrote:
This implies that the API only works with one character type, which is not always the case, as shown in Boost.Log.
It implies that if you want to accept e.g. wchar_t, you need a separate overload.
Template interface parity is useful in cases like this:
https://github.com/boostorg/container/blob/6e697d796897b32b471b4f0740dcaa03d...
https://github.com/boostorg/container/blob/6e697d796897b32b471b4f0740dcaa03d...
This accepts vector