#ifndef BOOST_METAPARSE_V1_CPP11_IMPL_NTH_OF_C_SKIP_REMANING_HPP #define BOOST_METAPARSE_V1_CPP11_IMPL_NTH_OF_C_SKIP_REMANING_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 #include namespace boost { namespace metaparse { namespace v1 { namespace impl { template struct nth_of_c_skip_remaining; template struct nth_of_c_skip_remaining : return_::template apply {}; template struct nth_of_c_skip_remaining { private: template struct apply_unchecked : nth_of_c_skip_remaining< FinalResult, typename get_remaining::type, typename get_position::type, Ps... > {}; public: typedef typename std::conditional< is_error>::type::value, typename P::template apply, apply_unchecked> >::type::type type; }; } } } } #endif