In C++ since private inheritance is not considered as an is-a
relationship, how is it supposed to be shown in a class diagram and if it is shown as a has-a
It should be a Composition relationship (solid black diamond on the subclass side), because: