I'm grieved to report that I've been forced to start work on a new C++ book. The full details are available from the "Once, Weakly" link on the Semantics home...
This week's gotchas (http://www.semantics.org/weekly.html#thisweeksmaterial) concern common problems with C++ expressions involving 1) evaluation order and 2) ...
This week's gotchas: 1) some things you know about C++ declarations, and some you may not... 2) why we have to bite the bullet on the for statement Steve -- ...
"THE C++ Seminar" (http://www.gotw.ca/cpp_seminar/) featuring Scott Meyers, Herb Sutter, Dan Saks, Andrei Alexandrescu and yours truly is now open for general...
This week, we have an eclectic set of gotchas, treating problems with lexical analysis, terminology, and one of the few bugs caused by the formatting of a...
What better way to ring in the new year than with a discussion of direct vs. copy initialization! (Yes, this does imply some rather unflattering things about...
THE C++ SEMINAR: We (finally) have a published talk and panel schedule for The C++ Seminar (Boston, March 18-20). I'll be talking about - Simple Template...
Our gotchas this week deal with temporary generation and references. http://www.semantics.org/weekly.html#thisweeksmaterial Steve -- Stephen C. Dewhurst...
ITEM THE FIRST: This week's gotchas deal with what are often considered elementary design issues: use of accessor functions and choosing the types of data ...
Copy operations--copy constructors and copy assignment operators--are essential considerations for every abstract data type. But what happens when they're...
This week (after an admittedly long hiatus--don't ask) we'll be looking at the mechanics of using exceptions. After complaining about programmers who throw...
I've been getting a steady stream of complaints recently about how the space limitations of the "Common Knowledge" column in C/C++ Users Journal doesn't permit...
This week's gotcha discusses type codes and how to just say no. Also, under the relatively new "Code" section, an application of the Typed Message pattern...
TCS3 ==== First, a somewhat delayed reminder that The C++ Seminar will be held in Vancouver, WA (near Portland, OR) October 28-30. We have a draft schedule of...
TCS3 ... Reminder: The "early bird" registration period for THE C++ Seminar will end Sunday, September 15th. If you plan to attend the seminar, please ...
After a long hiatus, the Once, Weakly feature is coming back to life! The first installment in our new series discusses the use of a template member function...
COMPLETE TYPEOF IMPLEMENTATION AVAILABLE ... With the publication of the December C/C++ Users Journal containing part 3 of the typeof implementation, I am able...
The latest Once, Weakly concerns SFINAE (substitution failure is not an error). This fairly straightforward language feature, whose intended use is to...
The most recent "Once, Weakly" examines the use of "type-structures" as a compile time analog of runtime data structures. We discuss how to construct and...
I've made some new code available in the "code" section of semantics.org: ====== TYPEINTS ====== Have you ever had to perform compile time arithmetic on...
In the latest installment of Once, Weakly we'll discuss the use of template metaprogramming to improve efficiency while keeping the users of our facility in...
Once, Weakly: Template Dismantling ========================== It's not uncommon in template metaprogramming to dismantle a type into its component parts and...
This time, "Once, Weakly" gets systematic. We've gathered together most of our compile time type manipulation techniques to make a start at a unified...
Our new "Once, Weakly" examines some of the tradeoffs of designing an "instantiation interface" for a class template. This is the interface that a user of the...
The current "Once, Weakly" is a discussion of why one might want to implement a clone operation in a hierarchy: Attack of the Clones: This "tutorial" item...
In our latest "Once, Weakly" we look at one of the more obsure syntactic problems of template programming: how to guide the compiler's parse when there is not...
This week's "Once, Weakly" gets back to basics with an introduction to the "traits" technique for programming with templates. In this installment, we go over...
The latest installment of "Once, Weakly" takes to task all those who have criticized Gotcha #7: "Ignorance of Base Language Subtleties" from C++ Gotchas...