Closed martinmoene closed 7 years ago
clang -std=c++11 warns "warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const'" for:
prog.cc:113:29: constexpr value_type && value() && prog.cc:637:29: constexpr value_type && operator *() && prog.cc:665:29: constexpr value_type && value() && prog.cc:684:29: constexpr error_type && error() && prog.cc:901:29: constexpr error_type && error() &&
However, it shouldn't in these cases.
clang -std=c++11 warns "warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const'" for:
However, it shouldn't in these cases.