1.1 --- a/src/work/klao/map_test.cc Sun Apr 17 18:57:22 2005 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,23 +0,0 @@
1.4 -#include <iostream>
1.5 -
1.6 -#include <lemon/maps.h>
1.7 -
1.8 -using namespace std;
1.9 -using namespace lemon;
1.10 -
1.11 -int main()
1.12 -{
1.13 - ConstMap<int, char> a('#');
1.14 -
1.15 - cout << "sizeof ConstMap<int,char> = " << sizeof a << endl;
1.16 - cout << "a[5] = " << a[5] << endl;
1.17 -
1.18 - StdMap<int, char> b('$');
1.19 - cout << "sizeof ConstMap<int,char> = " << sizeof b << endl;
1.20 - cout << "sizeof std::map<int,char> = "
1.21 - << sizeof(std::map<int,char>) << endl;
1.22 - cout << "b[5] = " << b[5] << endl;
1.23 -
1.24 - b[5]='l';
1.25 - cout << "b[5] = " << b[5] << endl;
1.26 -}