Boost logo

Boost :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2003-04-17 12:27:46


Looking at
http://boost.sourceforge.net/regression-logs/cs-HP-UX-links.html#cast_test acc
you could say that aCC supports no member template keywords.

However, the code sample at the bottom compiles fine ?!

Nevertheless, I'd like to add the patches in attachment to take
the 53800 version of HP_aCC into account, set the
BOOST_NO_MEMBER_TEMPLATE_KEYWORD
and disable the pthreads.

#include <iostream>

template < bool b >
class if_true
{
public:
  template < class Y, class N >
  struct then { typedef Y type ; } ;
} ;

class B : public if_true< true >
    :: template then< int, double >
{
} ;

int main()
{
  std::cout << __HP_aCC << std::endl ;
  B b ;
  return 0 ;
}





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