title: error: expected unqualified-id before ‘class’
body: <p>In XVisualInfo structure there is a property called <code>class</code>,
  The problem occurs when I want use this structure in c++ program:</p>
  
  <pre><code>...
  XVisualInfo templ;
  templ.screen = screen;
  templ.depth = 32;
  templ.class = TrueColor;
  ...
  </code></pre>
  
  <p>When I try to compile I got the error given below:</p>
  
  <pre><code>error: expected unqualified-id before ‘class’
  templ.class = TrueColor;
        ^~~~~
  </code></pre>
  
  <p>now what can I do to make this works?!!</p>