[Insight-developers] std::map::insert() and VC++

Luis Ibanez ibanez@choroid.cs.unc.edu
Sun, 13 Jan 2002 15:35:43 -0500 (EST)


Hi,

One of the problems of the build in VC++ 
on the dashboard is produced by a variation 
in the implementation of the STL on VC++.

std::map class (in the SGI specification) has a
templated member:  insert<Iterator begin,Iterator end>

VC++ does not support templated members and in 
consequence has not implemented this method. The only
insert() methods available in std::map are:

  insert( value_type );
  insert( iterator it, value_type v );



The ITK class that was using the insert() method is now
performing a simple while() loop for copying one map
into another.


  Luis