C++ syntactic pitfall: access modifiers as labels