2 #ifndef BOOST_MPL_VECTOR_AUX_VECTOR0_HPP_INCLUDED
3 #define BOOST_MPL_VECTOR_AUX_VECTOR0_HPP_INCLUDED
5 // Copyright Aleksey Gurtovoy 2000-2004
7 // Distributed under the Boost Software License, Version 1.0.
8 // (See accompanying file LICENSE_1_0.txt or copy at
9 // http://www.boost.org/LICENSE_1_0.txt)
11 // See http://www.boost.org/libs/mpl for documentation.
17 #include <boost/mpl/long.hpp>
18 #include <boost/mpl/void.hpp>
19 #include <boost/mpl/aux_/na.hpp>
20 #include <boost/mpl/aux_/type_wrapper.hpp>
22 #include <boost/mpl/vector/aux_/iterator.hpp>
23 #include <boost/mpl/vector/aux_/tag.hpp>
24 #include <boost/mpl/aux_/config/typeof.hpp>
26 namespace boost { namespace mpl {
28 template< typename Dummy = na > struct vector0;
30 template<> struct vector0<na>
32 #if defined(BOOST_MPL_CFG_TYPEOF_BASED_SEQUENCES)
33 typedef aux::vector_tag tag;
35 typedef long_<32768> lower_bound_;
36 typedef lower_bound_ upper_bound_;
37 typedef long_<0> size;
39 static aux::type_wrapper<void_> item_(...);
41 typedef aux::vector_tag<0> tag;
45 typedef v_iter<vector0<>,0> begin;
46 typedef v_iter<vector0<>,0> end;
52 #endif // BOOST_MPL_VECTOR_AUX_VECTOR0_HPP_INCLUDED