Actually, the November 2013 CTP does not claim to fully support constexpr
, but only claims to have a partial support for constexpr
. The features list explicitely tells that constexpr
is not supported for member functions and for arrays. Since string literals are a kind of array, they are not supported either:
The CTP supports C++11
constexpr
, except for member functions. (Another limitation is that arrays aren't supported.) Also, it doesn't support C++14's extendedconstexpr
rules.