Boost logo

Boost-Commit :

From: danmarsden_at_[hidden]
Date: 2007-08-02 16:34:14


Author: danmarsden
Date: 2007-08-02 16:34:13 EDT (Thu, 02 Aug 2007)
New Revision: 38407
URL: http://svn.boost.org/trac/boost/changeset/38407

Log:
removing files added by the cvs import incorrectly
Removed:
   trunk/boost/fusion/functional/adapter/detail/has_type.hpp
   trunk/boost/fusion/functional/adapter/detail/nullary_call_base.hpp

Deleted: trunk/boost/fusion/functional/adapter/detail/has_type.hpp
==============================================================================
--- trunk/boost/fusion/functional/adapter/detail/has_type.hpp 2007-08-02 16:34:13 EDT (Thu, 02 Aug 2007)
+++ (empty file)
@@ -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

Deleted: trunk/boost/fusion/functional/adapter/detail/nullary_call_base.hpp
==============================================================================
--- trunk/boost/fusion/functional/adapter/detail/nullary_call_base.hpp 2007-08-02 16:34:13 EDT (Thu, 02 Aug 2007)
+++ (empty file)
@@ -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 <boost/blank.hpp>
-
-#include <boost/type_traits/remove_reference.hpp>
-#include <boost/type_traits/remove_const.hpp>
-
-#include <boost/fusion/sequence/container/vector/vector10.hpp>
-#include <boost/fusion/functional/adapter/detail/has_type.hpp>
-
-#include <boost/utility/result_of.hpp>
-
-namespace boost { namespace fusion { namespace detail
-{
- struct reserved { };
-
- template<typename Function>
- struct get_result_spec
- {
- typedef typename remove_const<typename remove_reference<Function>::type>::type function;
- typedef typename function::template result<function(fusion::vector0)> type;
- };
-
- template <class Derived, class Function, bool Enable = detail::has_type<
- typename get_result_spec<Function>::type>::value>
- struct nullary_call_base
- {
- template <typename T> inline void operator()(T reserved::*) const { }
- protected:
- typedef boost::blank r0;
- };
-
- template <class Derived, class Function>
- struct nullary_call_base<Derived,Function,true>
- {
- private:
- typedef typename remove_const<typename remove_reference<Function>::type>::type function;
- protected:
- typedef typename function::template result<function(vector0)> r0;
- public:
-
- inline typename r0::type
- operator()() const
- {
- fusion::vector0 arg;
- return static_cast<Derived const *>(this)->fnc_transformed(arg);
- }
-
- inline typename r0::type
- operator()()
- {
- fusion::vector0 arg;
- return static_cast<Derived *>(this)->fnc_transformed(arg);
- }
- };
-
-}}}
-
-#endif
-


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk