Go to the documentation of this file.
58 int main(
int argc,
char *argv[])
60 cout<<
"sizeof\n------\n";
63 cout<<
"nil:" <<
sizeof(
x) <<
nl;
67 cout<<
"bool:" <<
sizeof(
x) <<
nl;
71 cout<<
"hasBoolClass:" <<
sizeof(
x) <<
nl;
76 cout<<
"Switch:" <<
sizeof(
x) <<
nl;
82 cout<<
"scalar:" <<
sizeof(
x) <<
nl;
87 cout<<
"label:" <<
sizeof(
x) <<
nl;
91 cout<<
"int:" <<
sizeof(int) <<
nl;
92 cout<<
"long:" <<
sizeof(long) <<
nl;
93 cout<<
"float:" <<
sizeof(float) <<
nl;
94 cout<<
"double:" <<
sizeof(double) <<
nl;
int main(int argc, char *argv[])
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
A zero-sized class without any storage. Used, for example, in HashSet.
Ostream & endl(Ostream &os)
Add newline and flush stream.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
hasBoolClass(const bool val=false)
switchType
The various text representations for a switch value.