Microsoft publishes a C++11 compatibility table, under which constexpr
is clearly marked as not being available in Visual Studio 2013.
The November 2013 CTP has it, though.
Source: Google visual studio constexpr
More Related Contents:
- When does a constexpr function get evaluated at compile time?
- When should you use constexpr capability in C++11?
- const vs constexpr on variables
- Create N-element constexpr array in C++11
- Difference between std::regex_match & std::regex_search?
- Computing length of a C string at compile time. Is this really a constexpr?
- constexpr overloading
- how to initialize a constexpr reference
- Detecting constexpr with SFINAE
- Constexpr Math Functions
- static constexpr member of same type as class being defined
- Does static constexpr variable inside a function make sense?
- C++11: Compile Time Calculation of Array
- Populate An Array Using Constexpr at Compile-time
- Is it legal to declare a constexpr initializer_list object?
- Static constexpr odr-used or not?
- Is it possible to declare constexpr class in a header and define it in a separate .cpp file?
- Is it possible to use std::string in a constexpr?
- Lookup table with constexpr
- Concat two `const char` string literals
- Is a constexpr array necessarily odr-used when subscripted?
- Double delete in initializer_list vs 2013
- constexpr vs. static const: Which one to prefer?
- `static constexpr` function called in a constant expression is…an error?
- Why can I call a non-constexpr function inside a constexpr function?
- constexpr initialization of array to sort contents
- What am I allowed to do with a static, constexpr, in-class initialized data member?
- constexpr not working if the function is declared inside class scope
- Is Visual Studio 2013 optimizing correctly in the presence of /OPT:ICF?
- enum vs constexpr for actual static constants inside classes