
22 Apr
2010
22 Apr
'10
6:16 p.m.
Thorsten Ottosen:
+ template< class Pair, class InternalPair > + static Pair force_pair_copy( const InternalPair& p ) + { + typedef typename Pair::first_type iter; + return Pair( force_copy<iter>( p.first ), force_copy<iter>( p.second ) ); + }
Forcing p.second to Pair::first_type doesn't seem correct. It would work for pair<I, I>, of course.