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

前端 未结 0 1212
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-11 13:33

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

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