It smells like a GCC bug .
11 , 8.4.2 .
, Clang 3.2 Intel ICC 13.0.
, X, , :
B b(); // This will declare a function that accepts no argument
// and returns a value of type B
, , :
B b; // ERROR: Constructor of A is private
GCC 4.7.2 () . , - GCC 4.8.0 ( 20130127).