User profile: seeplus

User info
User name:seeplus
History
Joined:
Number of posts:6650
Latest posts:

Avoid redundant construction/destruction of vector elements
Yep - if you know at compile time how many elements there will be.

Avoid redundant construction/destruction of vector elements
emplace_back() is resizing the vector which is why you get extra ~Derived() called as part of the re...

Proposal for explict keyword for non constructor functions
IMO 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...