[Interest] MSVC 2013 Bug?
Thiago Macieira
thiago.macieira at intel.com
Fri Nov 13 00:20:02 CET 2015
On Friday 13 November 2015 00:11:43 Elvis Stansvik wrote:
> Actually it's not wrong. It's the const char* version that was added in
> C++11.
>
> http://en.cppreference.com/w/cpp/error/runtime_error is wrong (I'm
> guessing that's where you looked as well).
Right. The C++98 standard in 19.1.6 [lib.runtime.error] says:
namespace std {
class runtime_error : public exception {
public:
explicit runtime_error(const string& what_arg);
};
}
N3291 (C++11 final) has the extra constructor.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list