------- Comment #4 from paolo dot carlini at oracle dot com 2010-07-06 18:18 ------- Sorry about the delay. The warning emitted by current ICC by default is exactly:
33801.C(10): warning #21: type qualifiers are meaningless in this declaration f(const typename C::const_reference value) ^ detected during instantiation of class "iter<C> [with C=cont]" at line 16 Likewise VC++, for example. Let's keep this open for a while. -- paolo dot carlini at oracle dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|WONTFIX | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33801