Click here to Skip to main content
15,507,752 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: A programming question Pin
David O'Neil23-Sep-20 22:25
professionalDavid O'Neil23-Sep-20 22:25 
GeneralRe: A programming question Pin
Rage23-Sep-20 22:30
professionalRage23-Sep-20 22:30 
GeneralRe: A programming question Pin
David O'Neil23-Sep-20 22:34
professionalDavid O'Neil23-Sep-20 22:34 
GeneralRe: A programming question Pin
Rage23-Sep-20 22:37
professionalRage23-Sep-20 22:37 
GeneralRe: A programming question Pin
David O'Neil23-Sep-20 22:39
professionalDavid O'Neil23-Sep-20 22:39 
GeneralRe: A programming question Pin
Shao Voon Wong23-Sep-20 22:55
mvaShao Voon Wong23-Sep-20 22:55 
GeneralRe: A programming question Pin
David O'Neil23-Sep-20 23:01
professionalDavid O'Neil23-Sep-20 23:01 
GeneralRe: A programming question Pin
Arthur V. Ratz23-Sep-20 23:09
professionalArthur V. Ratz23-Sep-20 23:09 
Hi David,

According to this, private inheritance in C++17 is primarily used whenever you're having a need to make all those public and protected members, in a base class, to become private in all derived descendant classes, and, thus not accessible via a derived class object.

Whist, according to this, all public and protected members of a base class become protected in all derived classes. This is typically needed to make those public members of a base class to become protected in all descendent classes, rather than those methods are accessible via a derived class object.
GeneralRe: A programming question Pin
Nemanja Trifunovic24-Sep-20 4:13
Nemanja Trifunovic24-Sep-20 4:13 
GeneralRe: A programming question Pin
RustyF24-Sep-20 21:56
RustyF24-Sep-20 21:56 
GeneralRe: A programming question Pin
giulicard24-Sep-20 23:01
giulicard24-Sep-20 23:01 
GeneralRe: A programming question Pin
Stuart Dootson25-Sep-20 0:13
professionalStuart Dootson25-Sep-20 0:13 
GeneralRe: A programming question Pin
patbob28-Sep-20 15:17
patbob28-Sep-20 15:17 
GeneralRe: A programming question Pin
David O'Neil28-Sep-20 16:49
professionalDavid O'Neil28-Sep-20 16:49 
GeneralRe: A programming question Pin
charlieg29-Sep-20 3:24
charlieg29-Sep-20 3:24 
GeneralScratching Goethe... Pin
Kornfeld Eliyahu Peter23-Sep-20 21:04
professionalKornfeld Eliyahu Peter23-Sep-20 21:04 
GeneralRe: Scratching Goethe... Pin
David O'Neil23-Sep-20 21:23
professionalDavid O'Neil23-Sep-20 21:23 
GeneralThought of the Day Pin
OriginalGriff23-Sep-20 5:24
mveOriginalGriff23-Sep-20 5:24 
GeneralRe: Thought of the Day Pin
jeron123-Sep-20 6:06
jeron123-Sep-20 6:06 
GeneralRe: Thought of the Day Pin
W Balboos, GHB23-Sep-20 6:37
mveW Balboos, GHB23-Sep-20 6:37 
GeneralRe: Thought of the Day Pin
Daniel Pfeffer23-Sep-20 7:12
professionalDaniel Pfeffer23-Sep-20 7:12 
GeneralRe: Thought of the Day Pin
Sandeep Mewara23-Sep-20 9:23
mveSandeep Mewara23-Sep-20 9:23 
GeneralRe: Thought of the Day Pin
DRHuff23-Sep-20 10:21
DRHuff23-Sep-20 10:21 
GeneralRe: Thought of the Day Pin
Stefan_Lang24-Sep-20 0:15
mveStefan_Lang24-Sep-20 0:15 
GeneralRe: Thought of the Day Pin
Johnny J.24-Sep-20 0:48
professionalJohnny J.24-Sep-20 0:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

An amazing AI programming tool is invented that can do one task perfectly. What would you choose?
  Results   65 votes