Boost logo

Boost :

From: Eric Woodruff (Eric.Woodruff_at_[hidden])
Date: 2002-12-04 11:55:00


[snip]

> holder<Foo> h;
> new (h.storage) Foo;

What is the meaning of that syntax?

> ...
> T* u = dangerous_cast<T*>(h.storage); // can't do this with
reinterpret_cast

Why would you want to do that in the first place.

>
> HTH,
> --
> David Abrahams
> dave_at_[hidden] * http://www.boost-consulting.com
> Boost support, enhancements, training, and commercial distribution
>
> _______________________________________________
> Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk