Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2001-09-22 06:55:57


Jaakko,

At the moment some of the tuple code is failing to compile with Borland
C++, the problem is code like:

template<class T0>
inline typename detail::make_tuple_mapper<T0>::type
make_tuple(const T0& t0) {
  return typename detail::make_tuple_mapper<T0>::type(t0);
}

which needs to be changed to:

template<class T0>
inline typename detail::make_tuple_mapper<T0>::type
make_tuple(const T0& t0) {
  typedef typename detail::make_tuple_mapper<T0>::type t;
  return t(t0);
}

in order to get the code to compile (these changes have to be applied
consistently throughout tuple_basic.hpp), I hope you don't mind but I've
committed those changes - let me know if there are any problems.

- John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/


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