This blog contains information about my book Imperfect C++, additional information about imperfections that are discussed in the book, and new imperfections that have been highlighted since the book's publication.
Monday, November 16, 2009
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 suffixes - L / LL, UL / ULL - in different compilers
Software development consultant to a diverse mix of contented Australian and international clients, on behalf of
Synesis Software. We write high-performance software that doesn't break, and help others do to do the same.