#ifndef BOOST_METAPARSE_V1_CPP11_NTH_OF_C_HPP #define BOOST_METAPARSE_V1_CPP11_NTH_OF_C_HPP // Copyright Abel Sinkovics (abel@sinkovics.hu) 2017. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include #include #include #include namespace boost { namespace metaparse { namespace v1 { template struct nth_of_c { typedef nth_of_c type; template struct apply : std::conditional< (0 <= N && N < sizeof...(Ps)), impl::nth_of_c, typename fail> ::template apply >::type {}; }; template struct nth_of_c : fail> {}; } } } #endif