#ifdef BOOST_HANA_CONFIG_ENABLE_STRING_UDL
//////////////////////////////////////////////////////////////////////////
// _s user-defined literal
//////////////////////////////////////////////////////////////////////////
namespace literals {
template <typename CharT, CharT ...s>
constexpr auto operator"" _s() {
static_assert(std::is_same<CharT, char>::value,
"hana::string: Only narrow string literals are supported with "
"the _s string literal right now. See https://goo.gl/fBbKD7 "
"if you need support for fancier types of compile-time strings.");
return hana::string_c<s...>;
}
}
#endif