X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=boost%2Ffusion%2Fview%2Fiterator_range%2Fdetail%2Fsize_impl.hpp;fp=boost%2Ffusion%2Fview%2Fiterator_range%2Fdetail%2Fsize_impl.hpp;h=90951b2ff913ab43ac99b2e594a1d1e665433403;hb=2d71eb92104693ca9baa5a2e1c23eeca776d8fd3;hp=0000000000000000000000000000000000000000;hpb=da57529b92adbb7ae74a89861cb39fb35ac7c62d;p=rsem.git diff --git a/boost/fusion/view/iterator_range/detail/size_impl.hpp b/boost/fusion/view/iterator_range/detail/size_impl.hpp new file mode 100644 index 0000000..90951b2 --- /dev/null +++ b/boost/fusion/view/iterator_range/detail/size_impl.hpp @@ -0,0 +1,37 @@ +/*============================================================================= + Copyright (c) 2011 Eric Niebler + + 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) +==============================================================================*/ + +#if !defined(BOOST_FUSION_ITERATOR_RANGE_SIZE_IMPL_HPP_INCLUDED) +#define BOOST_FUSION_ITERATOR_RANGE_SIZE_IMPL_HPP_INCLUDED + +#include + +namespace boost { namespace fusion +{ + struct iterator_range_tag; + + namespace extension + { + template + struct size_impl; + + template <> + struct size_impl + { + template + struct apply + : result_of::distance< + typename Seq::begin_type, + typename Seq::end_type + > + {}; + }; + } +}} + +#endif +