Rodin/Utility/IsOneOf.h file

Defines the IsOneOf type trait for checking type membership in a list.

Namespaces

namespace Rodin
The Rodin library for Shape and Topology Optimization.
namespace Rodin::Utility
Module containing general purpose and language support utility classes.

Classes

template<typename ...>
struct Rodin::Utility::IsOneOf
Type trait to check if a type is one of a specified list of types.
template<typename F, typename S, typename ... T>
struct Rodin::Utility::IsOneOf<F, S, T...>
Specialization for non-empty type lists.