|
Boost Users : |
From: Konstantin M. Litvinenko (yg-boost-users_at_[hidden])
Date: 2003-07-29 06:21:16
Hello, All!
I can't compile this simple test:
---------------------------------------------
#include <boost/tuple/tuple.hpp>
#include <iostream>
using namespace boost::tuples;
using namespace std;
int main()
{
typedef tuple<int, tuple<int, int> > Tuple;
Tuple t1(1, make_tuple(1, 1));
Tuple t2(2, make_tuple(2, 2));
if (get<1>(t1) == get<1>(t2))
{
cout << "equal";
}
else
{
cout << " not equal";
}
return 0;
}
-----------------------------------------
What am I doing wrong?
Compilers: Borland Builder 6 (bcc32.exe 5.6.4) and VC7
With best regards, Konstantin M. Litvinenko aka Dark Angel.
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