static constexpr undefined reference error on clang

后端 未结 0 1058
北荒
北荒 2021-02-02 02:52

The following code compiles fine on Visual Studio 2019 and on gcc 10.2 (and other gcc versions) with -std=c++11 but fails on clang (versions 9, 10 and 11).



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