HomeSort by relevance Sort by last modified time
    Searched refs:emplace_exists (Results 1 - 4 of 4) sorted by null

  /external/libcxx/test/std/utilities/variant/variant.variant/variant.mod/
emplace_type_args.pass.cpp 40 template <class... Args> constexpr bool emplace_exists() { function
47 static_assert(emplace_exists<V, int>(), "");
48 static_assert(emplace_exists<V, int, int>(), "");
49 static_assert(!emplace_exists<V, int, decltype(nullptr)>(),
51 static_assert(emplace_exists<V, void *, decltype(nullptr)>(), "");
52 static_assert(!emplace_exists<V, void *, int>(), "cannot construct");
53 static_assert(emplace_exists<V, void *, int *>(), "");
54 static_assert(!emplace_exists<V, void *, const int *>(), "");
55 static_assert(emplace_exists<V, const void *, const int *>(), "");
56 static_assert(emplace_exists<V, const void *, int *>(), "")
    [all...]
emplace_index_args.pass.cpp 40 template <class Var, size_t I, class... Args> constexpr bool emplace_exists() { function
47 static_assert(emplace_exists<V, 0>(), "");
48 static_assert(emplace_exists<V, 0, int>(), "");
49 static_assert(!emplace_exists<V, 0, decltype(nullptr)>(),
51 static_assert(emplace_exists<V, 1, decltype(nullptr)>(), "");
52 static_assert(emplace_exists<V, 1, int *>(), "");
53 static_assert(!emplace_exists<V, 1, const int *>(), "");
54 static_assert(!emplace_exists<V, 1, int>(), "cannot construct");
55 static_assert(emplace_exists<V, 2, const int *>(), "");
56 static_assert(emplace_exists<V, 2, int *>(), "")
    [all...]
emplace_index_init_list_args.pass.cpp 52 template <class Var, size_t I, class... Args> constexpr bool emplace_exists() { function
60 static_assert(!emplace_exists<V, 1, IL>(), "no such constructor");
61 static_assert(emplace_exists<V, 2, IL>(), "");
62 static_assert(!emplace_exists<V, 2, int>(), "args don't match");
63 static_assert(!emplace_exists<V, 2, IL, int>(), "too many args");
64 static_assert(emplace_exists<V, 3, IL, int>(), "");
65 static_assert(!emplace_exists<V, 3, int>(), "args don't match");
66 static_assert(!emplace_exists<V, 3, IL>(), "too few args");
67 static_assert(!emplace_exists<V, 3, IL, int, int>(), "too many args");
emplace_type_init_list_args.pass.cpp 52 template <class... Args> constexpr bool emplace_exists() { function
60 static_assert(emplace_exists<V, InitList, IL>(), "");
61 static_assert(!emplace_exists<V, InitList, int>(), "args don't match");
62 static_assert(!emplace_exists<V, InitList, IL, int>(), "too many args");
63 static_assert(emplace_exists<V, InitListArg, IL, int>(), "");
64 static_assert(!emplace_exists<V, InitListArg, int>(), "args don't match");
65 static_assert(!emplace_exists<V, InitListArg, IL>(), "too few args");
66 static_assert(!emplace_exists<V, InitListArg, IL, int, int>(),

Completed in 5980 milliseconds