8 Jul
2018
8 Jul
'18
10:33 a.m.
John Maddock wrote:
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\system_error(168,18): note: declared here 1> /* constexpr */ error_category() _NOEXCEPT // TRANSITION
This commented-out constexpr (in the 2015 headers) is the problem, thanks. Now how do we work around it...
I believe the error is correct as well: class std_category has virtual member functions and so no constructor can ever be constexpr as the type can never be a literal.
No.