能否有人指向一个完整的语言类型前缀/后缀列表?
前缀示例:
auto s1 (u8"I'm a UTF-8 string.");
auto s2 (u"This is a UTF-16 string.");
auto s3 (U"This is a UTF-32 string.");
auto s4 (R"(RAW \ STRING " )");
auto s5 (L"wide string");
//etc..
//*I've only seen prefixes like this for strings.
后缀示例:
auto n1 = 7.2f;
auto n2 = 7.2d;
auto n3 = 100L;
auto n4 = 10000LL;
//etc..
我所有的搜索都引导我到“自定义用户字面量”的内容。
也许这些实例有一个我不知道的特定名称?