1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/ossrv/ossrv_pub/boost_apis/boost/mpl/range_c.hpp Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,48 @@
1.4 +
1.5 +#ifndef BOOST_MPL_RANGE_C_HPP_INCLUDED
1.6 +#define BOOST_MPL_RANGE_C_HPP_INCLUDED
1.7 +
1.8 +// Copyright Aleksey Gurtovoy 2000-2004
1.9 +//
1.10 +// Distributed under the Boost Software License, Version 1.0.
1.11 +// (See accompanying file LICENSE_1_0.txt or copy at
1.12 +// http://www.boost.org/LICENSE_1_0.txt)
1.13 +//
1.14 +// See http://www.boost.org/libs/mpl for documentation.
1.15 +
1.16 +// $Source: /cvsroot/boost/boost/boost/mpl/range_c.hpp,v $
1.17 +// $Date: 2004/11/28 01:57:09 $
1.18 +// $Revision: 1.5 $
1.19 +
1.20 +#include <boost/mpl/integral_c.hpp>
1.21 +#include <boost/mpl/aux_/range_c/front.hpp>
1.22 +#include <boost/mpl/aux_/range_c/back.hpp>
1.23 +#include <boost/mpl/aux_/range_c/size.hpp>
1.24 +#include <boost/mpl/aux_/range_c/O1_size.hpp>
1.25 +#include <boost/mpl/aux_/range_c/empty.hpp>
1.26 +#include <boost/mpl/aux_/range_c/iterator.hpp>
1.27 +#include <boost/mpl/aux_/range_c/tag.hpp>
1.28 +
1.29 +namespace boost { namespace mpl {
1.30 +
1.31 +template<
1.32 + typename T
1.33 + , T Start
1.34 + , T Finish
1.35 + >
1.36 +struct range_c
1.37 +{
1.38 + typedef aux::half_open_range_tag tag;
1.39 + typedef T value_type;
1.40 + typedef range_c type;
1.41 +
1.42 + typedef integral_c<T,Start> start;
1.43 + typedef integral_c<T,Finish> finish;
1.44 +
1.45 + typedef r_iter<start> begin;
1.46 + typedef r_iter<finish> end;
1.47 +};
1.48 +
1.49 +}}
1.50 +
1.51 +#endif // BOOST_MPL_RANGE_C_HPP_INCLUDED