Ensure template parameter is an enum class : <p>Is there a way to ensure a template parameter is an enum-class type?</p>

<p>I know <code>type_traits</code> has <code>std::is_enum</code>, but I don't want it to match regular enums, just enum_classes.</p>

<p>Example of the wanted effect:</p>

<pre><code>enum class EnumClass {};
enum Enum {};
class Class {};

template &lt;typename T&gt;
void Example()
{
    static_assert(/* T is EnumClass */, "`T` must be an enum class");
}

Example&lt;EnumClass&gt;(); // Ok
Example&lt;Enum&gt;(); // Error
Example&lt;Class&gt;(); // Error
</code></pre>

<p>I am using C++11, and unfortunately cannot go any higher (though I'd be curious to know the solution anyway, even if it involves newer standards).</p>

<p>Is it possible?</p>
