Delegating constructors is cool.
TL;DR With C++11 you can kiss goodbye to some 'init' method function shared between constructors or copying and pasting between your constructors.
Like inherited constructors I like delegating constructors[1] too - it's intuitive and clear:
References:
No comments:
Post a Comment