Home | History | Annotate | Download | only in tests

Lines Matching refs:is_one_of

104     // ============ is_one_of
106 static_assert(!is_one_of<int>::value, "int shouldn't be one of {}");
107 static_assert(!is_one_of<int, unsigned>::value, "int shouldn't be one of {unsigned}");
108 static_assert(!is_one_of<int, unsigned, float>::value,
110 static_assert(is_one_of<int, int>::value, "int should be one of {int}");
111 static_assert(is_one_of<int, int, float>::value, "int should be one of {int, float}");
112 static_assert(is_one_of<int, float, int>::value, "int should be one of {float, int}");
113 static_assert(is_one_of<int, float, int, unsigned>::value,
115 static_assert(is_one_of<int, float, unsigned, int>::value,
117 static_assert(!is_one_of<int, int&>::value, "int shouldn't be one of {int&}");