title: Comparing a char to chars in a list in C++
body: <p>Is there a way to compare a <code>char</code> to each element in a list of <code>char</code>s?</p>
  
  <pre><code>char ch;
  if(ch == 'a' || ch == 'b' || ch == 'c')
  </code></pre>
  
  <p>Is there some way to just do</p>
  
  <pre><code>if(ch is one of {a, b, c})
  </code></pre>