comparing a character with a set of characters c++
<p>is there a way to compare a single character with a set of characters?</p>

<p>eg: </p>

<pre><code>char a;
if(a in {'q','w','e','r','t','y','u'})
      return true;
else return false;
</code></pre>

<p>i need something like this.</p>
