summaryrefslogtreecommitdiff
path: root/devdocs/gcc~13/c_002b_002b-misunderstandings.html
blob: c9d0e59da4effb9f1fa98b761b74e1159f75feea (plain)
1
2
3
4
5
6
<div class="section-level-extent" id="C_002b_002b-Misunderstandings"> <div class="nav-panel"> <p> Next: <a href="non-bugs" accesskey="n" rel="next">Certain Changes We Don’t Want to Make</a>, Previous: <a href="disappointments" accesskey="p" rel="prev">Disappointments and Misunderstandings</a>, Up: <a href="trouble" accesskey="u" rel="up">Known Causes of Trouble with GCC</a> [<a href="index#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="indices" title="Index" rel="index">Index</a>]</p> </div>  <h1 class="section" id="Common-Misunderstandings-with-GNU-C_002b_002b"><span>14.7 Common Misunderstandings with GNU C++<a class="copiable-link" href="#Common-Misunderstandings-with-GNU-C_002b_002b"> ¶</a></span></h1>    <p>C++ is a complex language and an evolving one, and its standard definition (the ISO C++ standard) was only recently completed. 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. </p> <ul class="mini-toc"> <li><a href="static-definitions" accesskey="1">Declare <em class="emph">and</em> Define Static Members</a></li> <li><a href="name-lookup" accesskey="2">Name Lookup, Templates, and Accessing Members of Base Classes</a></li> <li><a href="temporaries" accesskey="3">Temporaries May Vanish Before You Expect</a></li> <li><a href="copy-assignment" accesskey="4">Implicit Copy-Assignment for Virtual Bases</a></li> </ul> </div><div class="_attribution">
  <p class="_attribution-p">
    &copy; Free Software Foundation<br>Licensed under the GNU Free Documentation License, Version 1.3.<br>
    <a href="https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/C_002b_002b-Misunderstandings.html" class="_attribution-link">https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/C_002b_002b-Misunderstandings.html</a>
  </p>
</div>