15 Jan
2016
15 Jan
'16
1:27 a.m.
Why not: { "sunday"_literal, weekday::sunday }, { "monday"_literal, weekday::monday }, { "tuesday"_literal, weekday::tuesday }, { "wednesday"_literal, weekday::wednesday }, { "thursday"_literal, weekday::thursday }, { "friday"_literal, weekday::friday }, { "saturday"_literal, weekday::saturday } Where: constexpr basic_literal<char> operator"" _literal(const char* s, std::size_t n) { return basic_literal<char>(s, n); } Where basic_literal<T> can only be constructed via the UDL operators. Glen -- View this message in context: http://boost.2283326.n4.nabble.com/gsoc16-Can-I-quickly-check-if-the-below-r... Sent from the Boost - Dev mailing list archive at Nabble.com.