mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-23 17:17:23 +02:00
code tidying
[SVN r38219]
This commit is contained in:
@ -1,21 +0,0 @@
|
|||||||
/*=============================================================================
|
|
||||||
Copyright (c) 2006-2007 Tobias Schwinger
|
|
||||||
|
|
||||||
Use modification and distribution are subject to 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).
|
|
||||||
==============================================================================*/
|
|
||||||
|
|
||||||
#if !defined(BOOST_FUSION_FUNCTIONAL_ADAPTER_DETAIL_HAS_TYPE_HPP_INCLUDED)
|
|
||||||
#define BOOST_FUSION_FUNCTIONAL_ADAPTER_DETAIL_HAS_TYPE_HPP_INCLUDED
|
|
||||||
|
|
||||||
#include <boost/mpl/aux_/has_type.hpp>
|
|
||||||
|
|
||||||
namespace boost { namespace fusion { namespace detail
|
|
||||||
{
|
|
||||||
// Actually it's a sin... But MSVC's weird interpretation of ADL makes
|
|
||||||
// me do this - tosh.
|
|
||||||
using boost::mpl::aux::has_type;
|
|
||||||
}}}
|
|
||||||
|
|
||||||
#endif
|
|
@ -26,11 +26,6 @@ namespace boost { namespace fusion { namespace detail
|
|||||||
template <typename T> struct gref<T&> { typedef T & type; };
|
template <typename T> struct gref<T&> { typedef T & type; };
|
||||||
template <typename T> struct gref<T const> { typedef T const& type; };
|
template <typename T> struct gref<T const> { typedef T const& type; };
|
||||||
|
|
||||||
// boost::result_of to Fusion PFO parameter
|
|
||||||
template <typename T> struct r2fp { typedef T const type; };
|
|
||||||
template <typename T> struct r2fp<T const> { typedef T const type; };
|
|
||||||
template <typename T> struct r2fp<T &> { typedef T type; };
|
|
||||||
|
|
||||||
// remove_const< remove_reference<_> >
|
// remove_const< remove_reference<_> >
|
||||||
template <typename T> struct uncr { typedef T type; };
|
template <typename T> struct uncr { typedef T type; };
|
||||||
template <typename T> struct uncr<T const> { typedef T type; };
|
template <typename T> struct uncr<T const> { typedef T type; };
|
||||||
|
Reference in New Issue
Block a user