Hello, All!
I can't compile this simple test:
---------------------------------------------
#include
In our last exciting episode "Konstantin M. Litvinenko" wrote:
Reply is a bit late, but here's the fix: add
#include
Hello, All!
I can't compile this simple test:
--------------------------------------------- #include
#include <iostream> using namespace boost::tuples; using namespace std;
int main() {
typedef tuple
> 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.
participants (2)
-
Jaakko Jarvi
-
Konstantin M. Litvinenko