Quantcast
Channel: Imperfect C++
Browsing all 14 articles
Browse latest View live

Welcome to the "Imperfect C++" blog!

Just a first "hello" to all readers of Imperfect C++, and of this blog. Even though the book is now over five years old, it still continues to draw references and the occasional controversy, so I've...

View Article



Reprint pending

I'm just working through the final checks of the corrected manuscript that will be used in the upcoming reprint of Imperfect C++. All being well, the reprint should occur this month (Nov. 2009). It...

View Article

New Recommendation in Reprint: use of bools in literal expressions

A new recommendation has been added, in section 15.3 (on page 237):Recommendation: Do not use literal true in conditional expressions. Avoid using literal false in conditonal expressions.This is due to...

View Article

New Recommendation in Reprint: use of macros to define 64-bit integer literals

A new recommendation has been added, in section 15.4.2 (on page 240):Recommendation: Use macros to abstract away differences for 64-bit integer literals.This is due to the use of non-standard literal...

View Article

New Recommendation in Reprint: use of parent_class_type member typedef

A new recommendation has been added, in section 18.5.1 (on page 302):Recommendation: Use parent_class_type for maintenance robustness.The section discusses the utility of member types, and in...

View Article


More Imperfect C++? More imperfections, anyway

For the rest of 2009, and probably through 2010, I'm planning to start looking at some more imperfections not covered in the book. Some of these will reflect reader feedback in the five years - is it...

View Article

Reprint coming ...

I've been contacted recently a few times by (potential) readers complaining that they can't get hold of Imperfect C++, and wondering whether it's out of print. As I've previously reported, a reprint...

View Article

Where is "Breaking Up The Monolith"?

Some readers have asked recently (and not so recently, my having taken 3+ years so far) when Breaking Up The Monolith is going to be published?The short answer is: 2010The long answer is somewhat more...

View Article


Imperfect C++ online content

I thought it'd be useful to list the available online resources for Imperfect C++:Sample Chapters:Chapter 10: Threading - a PDF of the chapter as it appears in the bookChapter 25: Fast, Non-intrusive...

View Article


Reprint publication schedule

I've heard from my editor, and the next run of Imperfect C++ went to the printer on 20th November and should be bound on 11th December, so should be available towards the end of the month.If you are...

View Article

Imperfect C++ Inventions: introduction

Recently, I've been asked by a couple of readers to enumerate the inventions and new definitions (as opposed to techniques, or already established technologies) introduced in Imperfect C++....

View Article

Imperfect C++ Inventions #1: auto_buffer

Characterisationauto_buffer is a C++ class template.PurposeIt's purpose is to avoid memory allocation costs in cases where the sizes of most, but not all, allocations for a given operation are known to...

View Article

Imperfect C++ Inventions: dimensionof

Characterisationdimensionof() is a macro, also known as STLSOFT_NUM_ELEMENTS(), for compile-time array size evaluation.PurposeIts purpose is to calculate, at compile time, the dimension of an array,...

View Article


The Siren Call of "the C++ ABI"

In a recent email thread on the ACCU-general mailing list, Adrian Fagg came out with the immortal statement:"You might think that calling direct to C++ across those boundaries is a triumph of...

View Article
Browsing all 14 articles
Browse latest View live




Latest Images