diff --git a/include/boost/fusion/functional/adapter/detail/has_type.hpp b/include/boost/fusion/functional/adapter/detail/has_type.hpp deleted file mode 100644 index 98056a26..00000000 --- a/include/boost/fusion/functional/adapter/detail/has_type.hpp +++ /dev/null @@ -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 - -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 diff --git a/include/boost/fusion/functional/adapter/detail/nullary_call_base.hpp b/include/boost/fusion/functional/adapter/detail/nullary_call_base.hpp deleted file mode 100644 index c089a697..00000000 --- a/include/boost/fusion/functional/adapter/detail/nullary_call_base.hpp +++ /dev/null @@ -1,69 +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_NULLARY_CALL_BASE_HPP_INCLUDED) -#define BOOST_FUSION_FUNCTIONAL_ADAPTER_DETAIL_NULLARY_CALL_BASE_HPP_INCLUDED - -#include - -#include -#include - -#include -#include - -#include - -namespace boost { namespace fusion { namespace detail -{ - struct reserved { }; - - template - struct get_result_spec - { - typedef typename remove_const::type>::type function; - typedef typename function::template result type; - }; - - template ::type>::value> - struct nullary_call_base - { - template inline void operator()(T reserved::*) const { } - protected: - typedef boost::blank r0; - }; - - template - struct nullary_call_base - { - private: - typedef typename remove_const::type>::type function; - protected: - typedef typename function::template result r0; - public: - - inline typename r0::type - operator()() const - { - fusion::vector0 arg; - return static_cast(this)->fnc_transformed(arg); - } - - inline typename r0::type - operator()() - { - fusion::vector0 arg; - return static_cast(this)->fnc_transformed(arg); - } - }; - -}}} - -#endif -