Boost logo

Boost Users :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-05-19 16:08:19


AMDG

John Femiani wrote:
> I wonder if you can use placement new
> and make the assignment operator for your class invoke a copy
> constructor?
>

Don't do that. It is impossible to make such an assignment operator
exception safe
if the copy constructor can throw.

In Christ,
Steven Watanabe


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