From: John P. <jwp...@gm...> - 2012-12-21 17:22:05
|
On Fri, Dec 21, 2012 at 10:20 AM, Paul T. Bauman <ptb...@gm...> wrote: > I don't think such a warning exists. I remember posting something to this > list (maybe 2 years ago? buried in a somewhat unrelated thready I think) > about this. Apparently this is explicitly allowed by the standard. Definitely allowed by the standard, but that's why they have stuff like -Weffc++, to warn you about code that's potentially bug-inducing but technically standard-conforming. -- John |