c++ STL change?

lrtaylor@micron.com lrtaylor@micron.com
Tue Nov 11 18:13:00 GMT 2003


mapped_type is not "internal".  It's a public property (so to speak) of
the map and can be used when declaring variables of the right type for
the map value.  For example, if I have a map like this:

map<string, MyClass> myMap;

I can create a new object of type MyClass like this:

myMap::mapped_type myObj;

Also, just in case you do any work on Windows, MSVC++ 6.0 doesn't
support mapped_type...

Cheers,
Lyle

-----Original Message-----
From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On 

Seems, you are using STL Port Manual.
I guess gcc uses another version.
And according to my experience any internal changes are subject 
to change without any notice.
:(

 



More information about the Gcc-help mailing list