Boost logo

Boost :

From: Doncho Angelov (DonAngel_at_[hidden])
Date: 2000-02-02 08:14:58


Hi!

I've recently downloaded the boost 1_11_0 and I think there is a problem
with bad_numeric_cast.

<code>
    class bad_numeric_cast : public std::bad_cast
    {
    public:
        // constructors, destructors and assignment operator defaulted

        // function inlined for brevity and consistency with rest of library
        virtual const char *what() const throw(); // !!!! HERE !!!!
        {
            return "bad numeric cast: loss of range in numeric_cast";
        }
    };
</code>

I think the ';' should be removed, otherwise this would not get compiled at
all.

Regards,
DonAngel


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