Proposal for explict keyword for non constructor functionsIMO anything which can detect 'issues' at compile time is to welcomed.
Why must base class be constructed before derived members?MS VS doesn't produce a warning - which would be useful as I've been down this rabbit hole before! T...
Why must base class be constructed before derived members?Base will be initialised before fab_ irrespective of the ordering in the constructor - that is as sp...
Why must base class be constructed before derived members?The issue is the ordering of execution of the class constructor initialisations for DerivedBad. The ...
Interacting with a vector of objects derived from base class[quote]Like for a game where the player can have different types of items in their inventory but the...