Subject: Re: [boost] [system] Add noexcept to conform with C++11
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2012-12-10 18:08:52
Le 10/12/12 23:44, Beman Dawes a écrit :
> On Mon, Dec 10, 2012 at 9:27 AM, Vicente Botet <vicente.botet_at_[hidden]> wrote:
>> I don't know what the C++ standard says, but at least MSVC 10.0, gcc-4.7.2
>> and gcc-4.8.0 complain when I define a virtual function as noexept when the
>> original declaration was not noexcept.
>> class future_error_category :
>> public boost::system::error_category
>> virtual const char* name() const BOOST_NOEXCEPT;
>> virtual std::string message(int ev) const;
> MSVC hasn't shipped any versions that support noexcept. So something
> must be whacky. If you send me a .patch file with your changes, I'll
> take a look. I've also got MinGW installed.
This is quite confusing. I suspect that I have introduced a syntax error
then. I will check tomorrow when I will have access to a PC Windows.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk