http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56004
--- Comment #4 from David Irvine 2013-01-16
18:16:58 UTC ---
I see
In my case in a simpler version than posted
this compiles fine
template
class Synchronised {
public:
Synchronised(T t = T{}) : t_{t} {}
t
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56004
--- Comment #2 from David Irvine 2013-01-16
16:40:43 UTC ---
(In reply to comment #1)
> As was explained on stackoverflow, this has nothing t odo with access
> modifiers, as you can easily demonstrate by making everything public.
>
> _t
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56004
Bug #: 56004
Summary: Possible bug with decltype and access modifer order
Classification: Unclassified
Product: gcc
Version: 4.7.2
Status: UNCONFIRMED
Severity: norma