Are C++14 digit separators allowed in user defined literals?

前端 未结 0 448
隐瞒了意图╮
隐瞒了意图╮ 2021-02-11 13:41

While clang compiles the following line, g++ 6.1 complains about the digit separator (see live example on Coliru):

auto time = 01\'23s;

Which c

相关标签:
回答
  • 消灭零回复
提交回复
热议问题