What steps will reproduce the problem?
This test program:
#include <iostream>
#include <tr1/tuple>
#include <utility>
int main()
{
std::cerr << "sizeof(long long): " << sizeof(long long) << std::endl;
using namespace std;
using namespace std::tr1;
typedef pair<long long, long long> p;
typedef tuple<p, unsigned int> t;
std::cerr << "sizeof(tuple<pair<long long, long long> >, unsigned int>):
" << sizeof(t) << std::endl;
return 0;
}
What is the expected output? What do you see instead?
The size is 20 on gcc4.4.1 32-bit, 24 on gcc4.4.1 64-bit, and 24 on nvcc3.0b
Original issue reported on code.google.com by gregory....@gatech.edu on 6 Feb 2010 at 8:31
Original issue reported on code.google.com by
gregory....@gatech.edu
on 6 Feb 2010 at 8:31