标签: c++ c++17
为什么我们不将所有字符串文字设为constexpr?
constexpr
constexpr char name[] = "hello"; template < const char* N > struct T{}; T < name > t;// this works fine T < "hello" > t1; // this doesn't work