
8 Feb
2006
8 Feb
'06
11:43 a.m.
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