mirror of
https://github.com/ENSL/NS.git
synced 2024-12-13 14:11:26 +00:00
11 lines
255 B
C++
11 lines
255 B
C++
|
|
||
|
// class Int is defined here because the primitive 'int' does not have a
|
||
|
// default constructor. The default constructor is used when map['z']
|
||
|
// accesses an uninitialized element.
|
||
|
struct Int
|
||
|
{
|
||
|
Int(int x = 0) : val(x) {};
|
||
|
int val;
|
||
|
};
|
||
|
|