Boost logo

Boost :

From: Stefan Slapeta (stefan_at_[hidden])
Date: 2006-02-08 03:21:54


Joaquín Mª López Muñoz wrote:
> Hello,
>
> Could any kind soul with access to CW 9.4 try to compile
> the following and report the results?
>

[...]

I don't know what it is but it seems like a bug in CW. BTW, Metrowerks'
own is_convertible fails for the same reasons.

Stefan

sError : function call '[std::auto_ptr<const foo *>].auto_ptr({lval}
const std::auto_ptr<const foo *>)' does not match
'std::auto_ptr<const foo *>::auto_ptr(std::auto_ptr_ref<const foo *>)'
'std::auto_ptr<const foo *>::auto_ptr(std::auto_ptr<const foo *> &)'
'std::auto_ptr<const foo *>::auto_ptr(const foo **)' (explicit)
  (point of instantiation: 'main()')
   (instantiating: 'boost::is_convertible<const std::auto_ptr<const foo
*>, const foo>')
    (instantiating: 'boost::detail::is_convertible_impl_dispatch<const
std::auto_ptr<const foo *>, const foo>')
     (instantiating: 'boost::detail::is_convertible_impl<const
std::auto_ptr<const foo *>, const foo>')
      (instantiating: 'boost::detail::is_convertible_basic_impl<const
std::auto_ptr<const foo *> &, const foo>')
is_convertible.hpp line 205 );


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