Boost logo

Boost :

From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2007-06-15 07:03:59


Tobias Schwinger wrote:

> // [...] tricky nullary case with default ctor detection
> // omitted for simplicity
>

Doh! It's not possible to detect default constructibility, correct?

So we'd have to declare it as

     template<typename T, typename DefaultConstructible = mpl::false_>
     struct constructor;

--
Tobias

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