This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: STL multimap g++ compiler error?


Sorry for the mis-post! Your comment definitely put me on the right track. I
was already "using namespace std;", but adding 

mymultimap.insert ( std::pair<char,int>('a',100) );

did the trick. Thanks for responding, even though the forum wasn't quite
right!

Best,
Susan
-- 
View this message in context: http://www.nabble.com/STL-multimap-g%2B%2B-compiler-error--tp24673178p24673644.html
Sent from the gcc - Help mailing list archive at Nabble.com.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]