mirror of
https://github.com/ENSL/NS.git
synced 2024-11-28 07:12:15 +00:00
2f9f0c732e
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@277 67975925-1194-0748-b3d5-c16f83f1a3a1
10 lines
255 B
C++
10 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;
|
|
};
|
|
|