On Tuesday, 7 June 2016 at 07:57:09 UTC, Walter Bright wrote:
C++ still suffers from:
http://www.digitalmars.com/articles/b44.html
and probably always will.
template< size_t size > void function( char ( &array )[ size ] );
It's horrible syntax (no surprise), and being a templated
function means it's recompiled N times... but there's at least
something for it now.
(Of note is that it's how you're expected to handle string
literals at compile time with constexp, but it doesn't make
string manipulation at compile time any easier. Go figure.)