|
Boost : |
From: tamboril_at_[hidden]
Date: 2001-08-06 18:07:55
I can't compile this on MSVC SP 5:
template <typename T>
class foo
{
typedef boost::iterator_traits_generator::value_type<T>::reference<int&> jj;
};
I get this:
rtree.h(235) : error C2059: syntax error : '<'
rtree.h(236) : see reference to class template instantiation 'foo<T>' being compiled
rtree.h(235) : error C2238: unexpected token(s) preceding ';'
rtree.h(236) : see reference to class template instantiation 'foo<T>' being compiled
It's OK if I don't use T and use "int" instead. Changing to typename T doesn't help, either.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk