http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56004
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-01-16 16:19:33 UTC --- As was explained on stackoverflow, this has nothing t odo with access modifiers, as you can easily demonstrate by making everything public. _t has not been declared at the point where you try to use it, so the name is not in scope. What are you claiming is a bug?