------- Comment #16 from paolo dot carlini at oracle dot com 2008-12-11 16:17 ------- At the moment, I don't know this code well enough, but note that:
typedef const pair & const_pair_reference; therefore, I don't really follow your reasoning. By the way, rvalrefs I don't think are an option, because these classes are old, supposed to work well also in C++03 mode. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37144