title: What are the naming exclusions in C++
body: <p>C++ has some key words that cannot be used to name variables, functions, classes, namespaces, etc.</p>
  
  <p>For example:</p>
  
  <pre class="lang-cpp prettyprint-override"><code>int class; // not okay
  
  int operator; // not okay
  
  int classX; // okay
  
  int operatorX; // okay
  </code></pre>
  
  <p>The first two would work for C.</p>
  
  <p>I want to know all the naming exclusions or exceptions so that I can be wary and not accidentally use them.</p>