David Abrahams wrote:
> "Philippe A. Bouchard" <[EMAIL PROTECTED]> writes:
>
>>     I would like to propose partial<> when you wish to postpone an
>> object's construction:
>> http://groups.yahoo.com/group/boost/files/shifted_ptr/partial.hpp
>
> How is this different from the recently-accepted optional<T> class
> template?

It would be great also to have a different version of optional<> not having
the member optional<>::m_initialized.  This way you could take advantage of
small alignments (char, short) without rounding it back to a 'bool'
(equivalent to the default machine word I think ~ int).



Philippe A. Bouchard




_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to