conversion to inaccessible base class is not allowed code example
Example: conversion to inaccessible base class is not allowed
class D1 : B1 {...}
// to
class D1 : public B1 {...}
// Classes inherit privately by default
class D1 : B1 {...}
// to
class D1 : public B1 {...}
// Classes inherit privately by default