
16 Feb
2005
16 Feb
'05
4:10 a.m.
"Joe Gottman" <jgottman@carolina.rr.com> writes:
I disagree. This may ensure the basic exception-safety guarantee, but most code that uses optional<T> will use T::operator=() at some point or other. So if T::operator=() is not exception-safe
Whoa, here we go again! You seem to be assuming basic exception-safety guarantee == "not exception-safe." That's just not true for any reasonable definition of "exception-safe." Or am I misunderstanding you? -- Dave Abrahams Boost Consulting www.boost-consulting.com