index_pair_array and index_triple_array on gcc4.8, c++11
it seems the index_
pair and triple _array classes are giving trouble again with gcc
and c++11 mode enabled. The behavior is triggered for example by
running the tests with:
The problem emanates because of the new
std::iter_swap implementation as suggested by the standard and
calls of swap( *a, *b).
Unfortunately the reference types in
index_pair_array and index_triple_array are actually the
value types themselves and this makes gcc not able to deduce the
type, i.e. the swap operations excepts a reference but it finds a
value. It seems that config.hpp contains partial specializations
could allow it to work but since this is not allowed by the
(this was loosely active in compilers in the past?) it seems that
is not working anymore.