/usr/include/boost/fusion/algorithm/transformation
Edit: /usr/include/boost/fusion/algorithm/transformation/flatten.hpp (1269B)
/*==============================================================================
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
BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
inline typename result_of::flatten::type
flatten(Sequence& view)
{
return flatten_view(view);
}
template
BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
inline typename result_of::flatten::type
flatten(Sequence const& view)
{
return flatten_view(view);
}
}}
#endif