Why is C++11 constexpr so restrictive?

后端 未结 5 971
死守一世寂寞
死守一世寂寞 2020-12-15 02:27

As you probably know, C++11 introduces the constexpr keyword.

C++11 introduced the keyword constexpr, which allows the user to guarante

5条回答
  •  暖寄归人
    2020-12-15 03:21

    Actually the C++ standardization committee is thinking about removing several of these constraints for c++14. See the following working document http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2013/n3597.html

提交回复
热议问题