1
0
forked from boostorg/mp11

Clang -x cuda: >>> mixmatch

This commit is contained in:
Axel Huebl
2018-04-05 18:55:25 +02:00
parent 88485f900a
commit c24fe1750c
5 changed files with 9 additions and 9 deletions

View File

@@ -25,7 +25,7 @@ template<class S, class V> struct mp_set_contains_impl;
template<template<class...> class L, class... T, class V> struct mp_set_contains_impl<L<T...>, V>
{
using type = mp_to_bool<std::is_base_of<mp_identity<V>, mp_inherit<mp_identity<T>...>>>;
using type = mp_to_bool<std::is_base_of<mp_identity<V>, mp_inherit<mp_identity<T>...> > >;
};
} // namespace detail
@@ -90,7 +90,7 @@ template<class S> struct mp_is_set_impl
template<template<class...> class L, class... T> struct mp_is_set_impl<L<T...>>
{
using type = mp_to_bool<std::is_same<mp_list<T...>, mp_set_push_back<mp_list<>, T...>>>;
using type = mp_to_bool<std::is_same<mp_list<T...>, mp_set_push_back<mp_list<>, T...> > >;
};
} // namespace detail