Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-03-12 18:00:54


Hi,

Mike, a Boost.Python user, ran into a problem that amounts to this:

  #include <boost/type_traits/is_convertible.hpp>
  struct S {
     virtual void f()=0;
  };

  boost::is_convertible<S&,S> error;
  
Shouldn't is_convertible handle cases like this by stripping
references before testing?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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