Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Idioms reference

11 views
Skip to first unread message

Paul

unread,
Feb 24, 2017, 6:24:53 PM2/24/17
to
Does anyone know a good reference for C++ idioms such as copy-on-write, copy-and-swap, RAII, CRTP, PIMPL etc. etc.

I noticed this: https://en.wikibooks.org/wiki/More_C%2B%2B_Idioms

However, it seems to be exhaustive, without stressing the more common and standard patterns.

Thanks,

Paul

Alf P. Steinbach

unread,
Feb 24, 2017, 6:31:54 PM2/24/17
to
I haven't clicked it but “More” seems to imply a separate original list.

Cheers & hth.,

- Alf

Paul

unread,
Feb 24, 2017, 6:52:38 PM2/24/17
to
It contains the basics like copy-and-swap, RAII etc. but it also contains
obscurities like Barton Nackman trick.
"More C++ idioms" is an abbreviation for "More C++ idioms than you would
think would be contained in a book on C++ idioms."
In fact, the above is what the book used to be called, but the title was
thought to be insufficiently concise.

Paul

Öö Tiib

unread,
Feb 24, 2017, 7:14:22 PM2/24/17
to
If you plan to work in a team with other people and on real code base
then you may use yourself some subset of idioms but you can't avoid
dealing with the ones that you don't use.
0 new messages