Subject: Re: [boost] Heads up - string_ref landing
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-11-16 08:22:32


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.