
5 Dec
2006
5 Dec
'06
12:28 a.m.
The documentation for tuple says there are no portability problems with gcc 2.95. I am using 3.2.3 and am getting a syntax error on the line that does the work of this function object: #include <boost/tuple/tuple.hpp> struct get_0_func { template <typename II> // II models Input Iterator on tuple void operator()(II it) { it->get<0>(); } }; The boost::get<0>(*it) form works fine. Does anyone know why a newer version of gcc would not compile this? Mark