PREV UP NEXT Using and Porting GNU CC

7.9: Common Misunderstandings with GNU C++

C++ is a complex language and an evolving one, and its standard definition (the ANSI C++ draft standard) is also evolving. As a result, your C++ compiler may occasionally surprise you, even when its behavior is correct. This section discusses some areas that frequently give rise to questions of this sort.

  • Static Definitions Static member declarations are not definitions
  • Temporaries Temporaries may vanish before you expect