Boost logo

Boost :

From: Gennadiy E. Rozental (rogeeff_at_[hidden])
Date: 2001-08-28 12:13:07


Hi,

Can anybody explain why iterator_adaptor_test will compile if
iterator_test.hpp using following statements:

const Iterator j;
...

i == j+c;

while iterator_adaptor define operator+ with non-const semantic?

Gennadiy.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk