diff --git a/include/boost/fusion/sequence/intrinsic/at.hpp b/include/boost/fusion/sequence/intrinsic/at.hpp index b2b012b1..fdfa72a6 100644 --- a/include/boost/fusion/sequence/intrinsic/at.hpp +++ b/include/boost/fusion/sequence/intrinsic/at.hpp @@ -9,6 +9,9 @@ #include #include +#include +#include +#include #include #include #include @@ -56,12 +59,23 @@ namespace boost { namespace fusion struct at_impl; } + namespace detail + { + template + struct at_impl + : mpl::if_< + mpl::less::template apply::type> + , typename extension::at_impl::template apply + , mpl::empty_base + >::type + {}; + } + namespace result_of { template struct at - : extension::at_impl::type>:: - template apply + : detail::at_impl::type> {}; template