Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-08-21 06:52:06


From: "David Abrahams" <dave_at_[hidden]>
>
> I'm not sure what problem you're trying to solve, but open problem is:
>
> "Given a type T with an explicit conversion from U and an object of type
U,
> how do I [placement] new a T"?

new T(u);

unless you are counting C-style casts as explicit conversions, i.e.

typedef char * U;

int const i;

U(&i); // works but do you really want that?


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