Boost logo

Boost Users :

Subject: Re: [Boost-users] [exception] array tags
From: joel (joel.falcou_at_[hidden])
Date: 2009-10-25 02:39:48


Diederick C. Niehorster wrote:
> Simply doing
> BOOST_THROW_EXCEPTION(std::out_of_range("Matrix -=: Inputs do not have
> same shape")) <<
> std_range_which(Rows()!=M.Rows()? "row" : "col");
> does not work, nor does
> BOOST_THROW_EXCEPTION(std::out_of_range("Matrix -=: Inputs do not have
> same shape") <<
> std_range_which(Rows()!=M.Rows()? "row" : "col"))
Maybe because std::out_of_range is not a boost::exception and dosn't
support << ?

___________________________________________
Joel Falcou - Assistant Professor
PARALL Team - LRI - Universite Paris Sud XI
Tel : (+33)1 69 15 66 35


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net