summaryrefslogtreecommitdiff
path: root/TAO/tao/t-sizes.cpp
blob: f791c064c15dbab6752fcd8b606d4e870ab59917 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "tao/orb.h"

#define SHOWSIZE(t) cout << "sizeof(" #t ") = " << sizeof(t) << endl;

int
main(int argc, char* argv[])
{
  SHOWSIZE (CORBA_Short);
  SHOWSIZE (CORBA_Long);
  SHOWSIZE (CORBA_LongLong);
  SHOWSIZE (CORBA_Float);
  SHOWSIZE (CORBA_Double);
  SHOWSIZE (CORBA_LongDouble);
}