Union and private inheritance