http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55120



--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-10-29 
23:12:12 UTC ---

I think Johannes is right, the virtual base is default-initialized without

needing to look up its name in the scope of D, and the implicitly-defined

default constructor is public so accessible.



Curious that G++, Comeau and Clang all accept the example in CWG issue 7,

despite the rationale (and Mike) indicating it's intended that a virtual

private base can't be derived from.

Reply via email to