File indexing completed on 2025-01-18 09:40:54
0001 #ifndef BOOST_MP11_DETAIL_MP_IS_LIST_HPP_INCLUDED
0002 #define BOOST_MP11_DETAIL_MP_IS_LIST_HPP_INCLUDED
0003
0004
0005
0006
0007
0008
0009
0010
0011 #include <boost/mp11/integral.hpp>
0012
0013 namespace boost
0014 {
0015 namespace mp11
0016 {
0017
0018
0019 namespace detail
0020 {
0021
0022 template<class L> struct mp_is_list_impl
0023 {
0024 using type = mp_false;
0025 };
0026
0027 template<template<class...> class L, class... T> struct mp_is_list_impl<L<T...>>
0028 {
0029 using type = mp_true;
0030 };
0031
0032 }
0033
0034 template<class L> using mp_is_list = typename detail::mp_is_list_impl<L>::type;
0035
0036 }
0037 }
0038
0039 #endif