WSJT-X/boost/phoenix/core/as_actor.hpp
Bill Somerville 4ebe6417a5 Squashed 'boost/' content from commit b4feb19f2
git-subtree-dir: boost
git-subtree-split: b4feb19f287ee92d87a9624b5d36b7cf46aeadeb
2018-06-09 21:48:32 +01:00

29 lines
798 B
C++

/*=============================================================================
Copyright (c) 2001-2007 Joel de Guzman
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_PHOENIX_CORE_AS_ACTOR_HPP
#define BOOST_PHOENIX_CORE_AS_ACTOR_HPP
#include <boost/phoenix/core/actor.hpp>
#include <boost/fusion/support/void.hpp>
namespace boost { namespace phoenix
{
template <typename T, typename U = typename is_actor<T>::type >
struct as_actor
{
typedef T type;
static type const &
convert(T const & t)
{
return t;
}
};
}}
#endif