Hi all,
On Tue, 25 Feb 2003, Fernando Cacciola wrote:
>
> "Peter Dimov" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> >
> > template void * operator new(size_t n, optional & t);
> >
>
> Anyway, there are still problems with this: operator new is called _before_
> the T is cons
"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 class
template?
--
Dave
Greeting,
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
The partial object is aligned like an object of type T and reserves
enough memory space to hold it, of course. partial<> uses