N4121: Compile-Time String: std::string_literal<n> -- Andrew Tomazos
A new WG21 paper is available. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.
Document number: N4121
Date: 2014-07-04
Compile-Time String:
std::string_literal<n>
by Andrew Tomazos
Excerpt:
We propose the addition of a class template
std::string_literal<n>
to the LFTS (and eventually merged into the Strings Standard Library) for the purposes of working with text at compiletime.The proposed template is a pure library helper class and does not require core language changes or compiler support.
This proposal is depended upon and is blocking N3815 > N4027 > N4113 (Reflection Type Traits) from SG7, which needs to produce compiletime text for reflection of entity names.