
16 Nov
2012
16 Nov
'12
1:22 p.m.
On 16/11/12 05:47, Yanchenko Maxim wrote:
3. It's worth having a static constructor 'literal' (templated with size) to construct char_ranges from literals - as the compiler knows their size in compile time (minus zero terminator). It can be a constexpr too.
strlen could be made to be constexpr, as it is already in several implementations.