1 #ifndef BOOST_MP11_DETAIL_MP_IS_LIST_HPP_INCLUDED
2 #define BOOST_MP11_DETAIL_MP_IS_LIST_HPP_INCLUDED
4 // Copyright 2015-2019 Peter Dimov.
6 // Distributed under the Boost Software License, Version 1.0.
8 // See accompanying file LICENSE_1_0.txt or copy at
9 // http://www.boost.org/LICENSE_1_0.txt
11 #include <boost/mp11/integral.hpp>
22 template<class L> struct mp_is_list_impl
24 using type = mp_false;
27 template<template<class...> class L, class... T> struct mp_is_list_impl<L<T...>>
34 template<class L> using mp_is_list = typename detail::mp_is_list_impl<L>::type;
39 #endif // #ifndef BOOST_MP11_DETAIL_MP_IS_LIST_HPP_INCLUDED