Boost logo

Boost :

From: Dave Abrahams (abrahams_at_[hidden])
Date: 1999-12-19 16:21:03


OK, it works!

If you change the

    using namespace cast;

at the end of cast.hpp to:

  using ::boost::cast::polymorphic_cast;
  using ::boost::cast::polymorphic_downcast;
  using ::boost::cast::implicit_cast;
  using ::boost::cast::bad_numeric_cast;
  using ::boost::cast::numeric_cast;
  using ::boost::cast::implicit_cast;

then usages in other namespaces can actually refer to
boost::polymorphic_cast, etc., as intended.

I'm not sure whether the ::boost:: prefix is needed in these lines, but I
was concerned about ambiguity with a namespace ::cast. Better safe, I
figure, than sorry.

-Dave


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