[Bug c++/16169] -Weffc++ item 15 improvements
giovannibajo at libero dot it
gcc-bugzilla@gcc.gnu.org
Tue Jun 29 02:30:00 GMT 2004
------- Additional Comments From giovannibajo at libero dot it 2004-06-29 02:19 -------
I think it makes sense to make this warning smarter. I propose we disable this
if the return instruction is calling a methos whose return type is a reference
to the current class type.
It's not perfect of course, but I think it is still better than the current
situation. What do you think?
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |giovannibajo at libero dot
| |it
Keywords| |diagnostic
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16169
More information about the Gcc-bugs
mailing list