Boost logo

Boost :

From: Joaquín Mª López Muñoz (joaquin_at_[hidden])
Date: 2006-02-07 04:18:47


Hello,

Could any kind soul with access to CW 9.4 try to compile
the following and report the results?

#include <boost/type_traits/is_convertible.hpp>
#include <memory>

class foo{};

typedef boost::is_convertible<
  const std::auto_ptr<const foo *>,
  const foo> type;

int main()
{
  bool b=type::value;
}

I've got reasons to think this will fail, and hence spot a problem
with boost::is_convertible in CW.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo




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