Boost logo

Boost Users :

From: Tom Matelich (tmatelich_at_[hidden])
Date: 2001-12-17 15:36:07


I have a tuple as a member of one of my classes, and it appears, that MSVC 6
requires me to do a using boost::tuple, rather than declaring it with the
boost namespace at the var.

For this declaration in my header:
boost::tuple<int, double> willis;

I get the following error:
file.h(161) : error C2059: syntax error : '<'
file.h(161) : error C2238: unexpected token(s) preceding ';'

If I add the using (which I would prefer not to do), the declaration:
tuple<int, double> willis;
works fine.

Any suggestions?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net