smats  0.0.1
Satisfability Modulo Arithmetic Theories Symbols
Loading...
Searching...
No Matches
smats::IsEnum Concept Reference

#include <concepts.h>

Concept definition

template<class T>
concept smats::IsEnum = std::is_enum_v<T>
Definition concepts.h:25

Detailed Description

Check if the type T is an enum

template <IsEnum T>
void foo(T t); // T can be any enum type
Template Parameters
Ttype to check