home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
stlpt453.zip
/
STLport-4.5.3
/
test
/
regression
/
map1.hpp
< prev
next >
Wrap
C/C++ Source or Header
|
2000-12-07
|
245b
|
11 lines
// 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;
};