Name: Anonymous 2009-11-10 4:15
What do you want in the next C standard? For me it's namespaces, damn they make libraries simple.
std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> >
>, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const, std::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > >std::map<std::string, std::string, std::less<std::string> > is not as verbose and can even be decreased.map<string, string, std::less<string> >themacbook:~ haxus$ xxd mach-ex
0000000: cefa edfe 0700 0000 0300 0000 0200 0000 ................
0000010: 0200 0000 8800 0000 0100 0000 0100 0000 ................
0000020: 3800 0000 5f5f 5445 5854 0000 0000 0000 8...__TEXT......
0000030: 0000 0000 0000 0000 0010 0000 0000 0000 ................
0000040: c100 0000 0700 0000 0700 0000 0000 0000 ................
0000050: 0000 0000 0500 0000 5000 0000 0100 0000 ........P.......
0000060: 1000 0000 0000 0000 0c00 0000 b500 0000 ................
0000070: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000080: 0000 0000 0000 0000 0000 0000 a400 0000 ................
0000090: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000a0: 0000 0000 31d2 4053 5150 5204 03cd 8053 ....1.@SQPR....S
00000b0: 31c0 40cd 8068 656c 6c6f 2077 6f72 6c64 1.@..hello world
00000c0: 0a .
themacbook:~ haxus$ ./mach-ex
hello world