Tag Archives: c++14

Too perfect forwarding

Update. One of the readers informed me that the same problem has been already described by R. Martinho Fernandes (see here), Eric Niebler (see here) and Scott Meyers (see here); so I should at least link to their articles. Now … Continue reading

Posted in programming | Tagged , , , | 24 Comments

“constexpr” function is not “const”

This is just a word of caution. C++14 will not be backwards compatible with C++11 in one aspect of constexpr functions. In C++11, when you define a constexpr member function, it implicitly obtains a const qualifier: The first declaration of … Continue reading

Posted in programming | Tagged , | 6 Comments