
30 May
2007
30 May
'07
3:07 p.m.
shunsuke skrev:
Hi,
I found a snippet from <boost/assign/ptr_list_of.hpp>:
template< class T > class generic_ptr_list { // ... public: template< class PtrContainer > operator std::auto_ptr<PtrContainer>() const { .. } };
IIRC, this automatic conversion doesn't work on any conforming compiler.
Why? -Thorsten