|
Boost Users : |
From: John Femiani (JOHN.FEMIANI_at_[hidden])
Date: 2008-05-19 16:44:24
Steven Watanabe wrot:
> 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.
>
I thought it would be a risky maneuver :)
Perhaps the answer for Max is "it may be possible, but its probably not
wise"
-- John
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