struct default public inheritance