"Philippe A. Bouchard" <[EMAIL PROTECTED]> writes: > David Abrahams wrote: > > [...] > >>> Example: >>> optional<int> i; >>> >>> new (i) int(17); >> >> Which copy ctor are you referring to? >> And why do we want to prevent copy ctor usages? > > Because optional<> will be able to handle types without copy constructors > (this was the main purpose of partial<> in fact). I was referring to the > copy constructor of optional<>'s template parameter.
I understand now, thanks. -- Dave Abrahams Boost Consulting www.boost-consulting.com _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost