Boost logo

Boost :

Subject: Re: [boost] [system] Add noexcept to conform with C++11
From: Beman Dawes (bdawes_at_[hidden])
Date: 2012-12-10 17:44:47


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
> {
> public:
> 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.

--Beman


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk