I believe that's throw by value, catch by reference. I don't remember it ever being const reference. Having said that, it looks like Philippe is coming from a Java or C# background, so it's an understandable mistake.
On Tue, Jan 5, 2010 at 5:40 AM, Stephan Beal <[email protected]> wrote: > On Mon, Jan 4, 2010 at 7:36 PM, Stephan Beal <[email protected]>wrote: > >> PS: if you're really throwing exceptions by pointer, instead of const >> reference, you REALLY should pick up a copy of Scott Meyers' "Effective >> C++". >> > > Sorry, that's covered in "More Effective C++", not "Effective C++", Item > #13. > > -- > ----- stephan beal > http://wanderinghorse.net/home/stephan/ > > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users > -- Thank you Abdulla -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
