Boost logo

Boost :

Subject: Re: [boost] rvalue ref best practices?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-06-16 12:52:26


On 16/06/2012 06:24, Dave Abrahams wrote:
>
>> Of course, what would be the point of exceptions i[f] not to catch them?
>
> Usually you want to do something with the exception once caught; your
> code doesn't do that. And code where the catch block doesn't rethrow
> tends to be incredibly rare.

My code was an example, of course real code would do something.

There are a lot of valid cases where you can do something which doesn't
involve setting a new value to foo or rethrowing.


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