/*////////////////////////////////////////////////////////////////////////////// Copyright (c) 2013 Jamboree 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) //////////////////////////////////////////////////////////////////////////////*/ #ifndef BOOST_FUSION_ALGORITHM_FLATTEN_HPP_INCLUDED #define BOOST_FUSION_ALGORITHM_FLATTEN_HPP_INCLUDED #include #include #include namespace boost { namespace fusion { namespace result_of { template struct flatten { typedef flatten_view type; }; }}} namespace boost { namespace fusion { template inline typename result_of::flatten::type flatten(Sequence& view) { return flatten_view(view); } template inline typename result_of::flatten::type flatten(Sequence const& view) { return flatten_view(view); } }} #endif