Examples and key things about constexpr specifier in C++11, constexpr functions and variables
From C++14, if,switch,for,while,do-while are allowed and local variable declaration are alos allowed in Constexpr functions.
In C++11, constexpr methods are implicitly const. In C++14, they are not.