map<int, float>::iterator

From: Anil Singh <anil79_at_fnal.gov>
Date: Sun, 14 Dec 2008 18:08:48 -0600


Hi All,

I am working with a code that reqire extensive use of std::map objects . I was trying to do something like :

//--------------------------

{
 #include<map>
  using namespace std;
  std::map<int, int>::iterator int_iter;   std::map<int, float>::iterator flt_iter; }
//----------------------------

It seems that though           "std::map<int, int>::iterator" is fine but 
"std::map<int, float>::iterator", does not work at all...... Any help is appreciated.
Anil Singh
FermiLab Received on Mon Dec 15 2008 - 01:08:57 CET

This archive was generated by hypermail 2.2.0 : Mon Dec 15 2008 - 05:50:07 CET