Oct 1, 2014

[c++11/14][constexpr]

The (somewhat unusual) rules of C++ dictate that when picking a member function on a temporary class object, the non-const is preferred to the const one.

Reference:
  “constexpr” function is not “const”

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.