Hello,
I am porting code which was compiling on gcc 3.2.2 to gcc 4
I am using (GCC) 4.1.2 20061115 (prerelease) (SUSE Linux)
Looks like std::map hasn't typedef data_type whereas map::key_type is
still there.
SGI's implementation seems to provide map::data_type
Is there any other way to get data_type from std::map?
P.S.: Code I have to port has sth. like this:
template<typename T>
T::data_type GetSomeDataFromMap( T m )
{
return m[0];
}
_______________________________________________
help-gplusplus mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gplusplus