|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-12-13 08:28:36
From: "Dave Gomboc" <dave_at_[hidden]>
>
> Conversion from T' to T is straightforward except when the value of type
> T' is nil. In this case, the developer may want to throw,
> default-construct the value of T, or assert.
I don't see why would anyone want a default-constructed T to be returned
when T' == nil, as a default-constructed T is perfectly storable in a T
variable, and there would be no need for T' at all.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk