string a = "class";
if (a in tuple("struct", "class", "union"))
{
    ...
}

Reply via email to