CPlusPlus
CPlusPlus – Constexpr, Delete, Right Value Reference
Constexpr : Know Value At Compile Time int main(int argc, char** argv ) { int size0; constexpr auto size1 = 10; //constexpr auto size2 = size0; //error: constexpr variable ‘size2’ must be initialized by a constant expression return 0; } Mark Function Delete To Avoid Data Type Conversion void ShowValue(double Read more…