1 /*=============================================================================
2 Copyright (c) 2007 Tobias Schwinger
4 Distributed under the Boost Software License, Version 1.0. (See accompanying
5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 ==============================================================================*/
7 #if !defined(BOOST_FUSION_SEQUENCE_EMPTY_IMPL_HPP_INCLUDED)
8 #define BOOST_FUSION_SEQUENCE_EMPTY_IMPL_HPP_INCLUDED
10 #include <boost/fusion/support/config.hpp>
11 #include <boost/type_traits/is_convertible.hpp>
12 #include <boost/fusion/container/list/nil.hpp>
14 namespace boost { namespace fusion
20 template <typename Car, typename Cdr>
25 template <typename Tag>
29 struct empty_impl<cons_tag>
31 template <typename Sequence>
33 : boost::is_convertible<Sequence, nil_>