Boost logo

Boost Users :

From: Benoit Hudson (benoit.hudson_at_[hidden])
Date: 2007-11-07 14:06:08


"For example, when defining a constant lvalue iterator, the user can
pass a const-qualified version of the iterator's value_type as
iterator_facade's Value parameter and omit the Reference parameter
which follows."

This no longer works in current gcc 4.3 (previous issue I mentioned
was a compiler bug, now fixed): it works out to generating a const
lvalue in operator[], which makes gcc-4.3 give "error: type qualifiers
ignored on function return type"

This is either a bug in boost or a bug in gcc; not being clear on
which it really is, I'll file it under boost.

-- Benoît


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net