sl@0: sl@0: #ifndef BOOST_MPL_EMPTY_SEQUENCE_HPP_INCLUDED sl@0: #define BOOST_MPL_EMPTY_SEQUENCE_HPP_INCLUDED sl@0: sl@0: // Copyright Aleksey Gurtovoy 2004 sl@0: // Copyright Alexander Nasonov 2004 sl@0: // sl@0: // Distributed under the Boost Software License, Version 1.0. sl@0: // (See accompanying file LICENSE_1_0.txt or copy at sl@0: // http://www.boost.org/LICENSE_1_0.txt) sl@0: // sl@0: // See http://www.boost.org/libs/mpl for documentation. sl@0: sl@0: // $Source: /cvsroot/boost/boost/boost/mpl/empty_sequence.hpp,v $ sl@0: // $Date: 2004/11/28 01:53:40 $ sl@0: // $Revision: 1.2 $ sl@0: sl@0: #include sl@0: #include sl@0: #include sl@0: sl@0: namespace boost { namespace mpl { sl@0: sl@0: struct empty_sequence sl@0: { sl@0: struct tag; sl@0: struct begin { typedef random_access_iterator_tag category; }; sl@0: typedef begin end; sl@0: }; sl@0: sl@0: template<> sl@0: struct size_impl sl@0: { sl@0: template< typename Sequence > struct apply sl@0: : int_<0> sl@0: { sl@0: }; sl@0: }; sl@0: sl@0: }} sl@0: sl@0: #endif // #ifndef BOOST_MPL_EMPTY_SEQUENCE_HPP_INCLUDED