Boost logo

Boost :

From: Mark Rodgers (mark.rodgers_at_[hidden])
Date: 2000-06-18 14:17:43


> What problems are you having, with 5.5 exactly?

It doesn't like this bit:

  namespace boost {
     using ::orable;
    ...

For each using declaration I get

Error E2102 ../..\boost/operators.hpp 367: Cannot use template
 'orable<T,U,B,O>' without specifying specialization parameters
Error E2272 ../..\boost/operators.hpp 367: Identifier expected

It seems to be expecting a template-id, even though a template-id is
illegal in a using declaration. I guess I could work around it with
inheritance:

  namespace boost {
     template <class T
         ,class U = T
         ,class B = ::boost::detail::empty_base
         ,class O = typename is_boost_operator_template<U>::value
>
      struct orable : ::orable<T, U, B, O> {};
   ...

I haven't tried this yet though. Any better ideas?

Mark


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