http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45908

--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> 2010-10-06 
17:37:32 UTC ---
(In reply to comment #7)
> re comment 2, is 4.5 correct to use a non-const access path to v.begin() in 
> the
> trailing-return-type?

Yes.  The trailing-return-type is not in the context of the function, so 'v' is
not based on 'this'.  I'll raise this as an issue with the committee.

Reply via email to