Patch for LWG issue #2145
mclow.lists at gmail.com
Tue Aug 20 11:11:44 PDT 2013
Mark the constructor for std::error_category as inline and constexpr.
Leave the (existing, out-of-line, non-constexpr) in the dylib for compatibility with existing programs)
No tests, because I don't know how to test it (given that error_category is both an abstract class and has a user-defined destructor)
Marshall Clow Idio Software <mailto:mclow.lists at gmail.com>
A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
-- Yu Suzuki
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2843 bytes
Desc: not available
More information about the cfe-commits