|
Boost : |
From: Stefan Slapeta (stefan_at_[hidden])
Date: 2006-02-08 06:43:00
John Maddock wrote:
>
> The problem is that since the From type is not convertible to the To type,
> it tries to pass it through (...) which fails in case because auto_ptr is
> not copy-constructible in the classic sense of the word.
>
> Try enabling the branch that begins:
>
> #elif (defined(__EDG_VERSION__) && (__EDG_VERSION__ >= 245) &&
> !defined(__ICL)) \
> || defined(__IBMCPP__) || defined(__HP_aCC)
>
> For MWCW and see if the type_traits regresion tests still pass, and if it
> fixes this issue. Unfortunately I suspect there may be a reason why this
> pp-branch wasn't enabled for MWCW.
Works fine with __MWERKS__ - at least for this example. Shall I apply
it? I may break other things which we'll hopefully see in the regression
tests...
Stefan
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk