Re: C++ bug with std::copy and std::pair

2005-11-20 Thread Paolo Carlini
Hi, > I have attached a cpp file that (I believe) should compile (and does on > Borland c++). It is the copy at the end that causes a problem - the > while loop is simply doing the same as what the copy should do (just to > show I did the operator<< properly). Copy works for other cases (ints, > f

C++ bug with std::copy and std::pair

2005-11-20 Thread Paul Edwards
Version information: [EMAIL PROTECTED] ~ $ g++ -v Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/specs Configured with: /var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.6 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.