You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
brigand/test/is_set_test.cpp

18 lines
1.2 KiB
C++

#include <brigand/algorithms/is_set.hpp>
#include <brigand/sequences/list.hpp>
static_assert(!brigand::is_set<int, int, int>::value, "error in brigand::is_set");
static_assert(!brigand::is_set<int, int>::value, "error in brigand::is_set");
static_assert(!brigand::is_set<void, int&, int, int>::value, "error in brigand::is_set");
static_assert(!brigand::is_set<void, const int, int, int>::value, "error in brigand::is_set");
static_assert(!brigand::is_set<void, const int, const int>::value, "error in brigand::is_set");
static_assert(brigand::is_set<void, int&, int>::value, "error in brigand::is_set");
static_assert(brigand::is_set<void, const int, int>::value, "error in brigand::is_set");
static_assert(brigand::is_set<int>::value, "error in brigand::is_set");
static_assert(brigand::is_set<>::value, "error in brigand::is_set");
static_assert(brigand::is_set<int, short>::value, "error in brigand::is_set");
static_assert(brigand::is_set<int, short, double>::value, "error in brigand::is_set");
static_assert(brigand::is_set<int, short, double, float>::value, "error in brigand::is_set");
static_assert(brigand::is_set<int, void, int&>::value, "error in brigand::is_set");