|
Boost : |
Subject: Re: [boost] [proposal] raw move (was: [interest] underlying type library)
From: Howard Hinnant (howard.hinnant_at_[hidden])
Date: 2011-08-23 14:24:26
On Aug 23, 2011, at 2:13 PM, Julian Gonggrijp wrote:
> Eric Niebler has
> enlightened me: it's not bad for the object itself, but it might be a
> disaster for another object which has undergone a real raw move before the exception happened.
A closely related scenario is for an object to be left in an invalid state while a comparator or predicate throws (e.g. sort, partition, etc.).
Howard
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk