MeVisLab Toolbox Reference
|
In combination with the in function it returns true, if a passed values is one of a set of possible values. More...
#include <mlContainerHelpers.h>
Public Member Functions | |
template<typename U > | |
constexpr bool | in (U a) |
template<class Arg , class... Args> | |
constexpr bool | in (Arg a, Args... args) |
Public Attributes | |
T | d_ |
In combination with the in function it returns true, if a passed values is one of a set of possible values.
Like if (is(value).in(option1, option2, option3)) { ... } Intended to be used for enumerated values.
Definition at line 26 of file mlContainerHelpers.h.
Definition at line 35 of file mlContainerHelpers.h.
References mlrange_cast().
Definition at line 30 of file mlContainerHelpers.h.