Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75956 - in sandbox/closure/boost/closure/aux_: . function_macros macro scope_exit type_traits
From: lorcaminiti_at_[hidden]
Date: 2011-12-15 03:53:52


Author: lcaminiti
Date: 2011-12-15 03:53:51 EST (Thu, 15 Dec 2011)
New Revision: 75956
URL: http://svn.boost.org/trac/boost/changeset/75956

Log:
Renaming to closure.
Added:
   sandbox/closure/boost/closure/aux_/add_pointed_const.hpp
      - copied unchanged from r75952, /sandbox/closure/boost/closure/aux_/type_traits/add_pointed_const.hpp
   sandbox/closure/boost/closure/aux_/macro/
      - copied from r75952, /sandbox/closure/boost/closure/aux_/function_macros/
Removed:
   sandbox/closure/boost/closure/aux_/config.hpp
   sandbox/closure/boost/closure/aux_/file.hpp
   sandbox/closure/boost/closure/aux_/function_macros/
   sandbox/closure/boost/closure/aux_/overload_base.hpp
   sandbox/closure/boost/closure/aux_/scope_exit/
   sandbox/closure/boost/closure/aux_/type_traits/

Deleted: sandbox/closure/boost/closure/aux_/config.hpp
==============================================================================
--- sandbox/closure/boost/closure/aux_/config.hpp 2011-12-15 03:53:51 EST (Thu, 15 Dec 2011)
+++ (empty file)
@@ -1,33 +0,0 @@
-
-// Copyright (C) 2009-2011 Lorenzo Caminiti
-// Use, modification, and distribution is subject to the Boost Software
-// License, Version 1.0 (see accompanying file LICENSE_1_0.txt or a
-// copy at http://www.boost.org/LICENSE_1_0.txt).
-
-#ifndef BOOST_LOCAL_AUX_CONFIG_HPP_
-#define BOOST_LOCAL_AUX_CONFIG_HPP_
-
-#include "../config.hpp"
-
-// If it is possible to pass local types (classes, etc) as
-// template parameters. This is not possible in pure C++03 but it
-// is possible in some C++03 extensions (MSVC, GCC 4.5.x, etc).
-#if !defined(BOOST_LOCAL_CONFIG_COMPLIANT)
-# if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 4)) && defined(__GXX_EXPERIMENTAL_CXX0X__)
- // From GCC 4.5.x when -std=c++0x specified.
-# define BOOST_LOCAL_AUX_CONFIG_LOCAL_TYPES_AS_TPARAMS
-# endif
-# if defined(_MSC_VER)
- // For (all?) MSVC (tested on MVSC 8.0).
-# define BOOST_LOCAL_AUX_CONFIG_LOCAL_TYPES_AS_TPARAMS
-# endif
-#endif
-
-#if defined(BOOST_LOCAL_AUX_CONFIG_LOCAL_TYPES_AS_TPARAMS)
-# define BOOST_LOCAL_AUX_CONFIG_LOCAL_TYPES_AS_TPARAMS_01 1
-#else
-# define BOOST_LOCAL_AUX_CONFIG_LOCAL_TYPES_AS_TPARAMS_01 0
-#endif
-
-#endif // #include guard
-

Deleted: sandbox/closure/boost/closure/aux_/file.hpp
==============================================================================
--- sandbox/closure/boost/closure/aux_/file.hpp 2011-12-15 03:53:51 EST (Thu, 15 Dec 2011)
+++ (empty file)
@@ -1,20 +0,0 @@
-
-// Copyright (C) 2009-2011 Lorenzo Caminiti
-// Use, modification, and distribution is subject to the Boost Software
-// License, Version 1.0 (see accompanying file LICENSE_1_0.txt or a
-// copy at http://www.boost.org/LICENSE_1_0.txt).
-
-#ifndef BOOST_LOCAL_AUX_FILE_HPP_
-#define BOOST_LOCAL_AUX_FILE_HPP_
-
-#define BOOST_LOCAL_AUX_FILE_FUNCTION_OVERLOAD_HPP \
- "boost/local/function/overload.hpp"
-
-#define BOOST_LOCAL_AUX_FILE_OVERLOAD_BASE_HPP \
- "boost/local/aux_/overload_base.hpp"
-
-#define BOOST_LOCAL_AUX_FILE_FUNCTION_HPP \
- "boost/local/aux_/function.hpp"
-
-#endif // #include guard
-

Deleted: sandbox/closure/boost/closure/aux_/overload_base.hpp
==============================================================================
--- sandbox/closure/boost/closure/aux_/overload_base.hpp 2011-12-15 03:53:51 EST (Thu, 15 Dec 2011)
+++ (empty file)
@@ -1,85 +0,0 @@
-
-// Copyright (C) 2009-2011 Lorenzo Caminiti
-// Use, modification, and distribution is subject to the Boost Software
-// License, Version 1.0 (see accompanying file LICENSE_1_0.txt or a
-// copy at http://www.boost.org/LICENSE_1_0.txt).
-
-#if !BOOST_PP_IS_ITERATING
-# ifndef BOOST_LOCAL_AUX_OVERLOAD_BASE_HPP_
-# define BOOST_LOCAL_AUX_OVERLOAD_BASE_HPP_
-
-# include "file.hpp"
-# include "../config.hpp"
-# include <boost/function.hpp>
-# include <boost/preprocessor/iteration/iterate.hpp>
-# include <boost/preprocessor/repetition/enum.hpp>
-# include <boost/preprocessor/cat.hpp>
-# include <boost/preprocessor/comma_if.hpp>
-
-#define BOOST_LOCAL_AUX_arg_type(z, n, unused) \
- BOOST_PP_CAT(A, n)
-
-#define BOOST_LOCAL_AUX_arg_name(z, n, unused) \
- BOOST_PP_CAT(a, n)
-
-#define BOOST_LOCAL_AUX_arg_tparam(z, n, unused) \
- typename BOOST_LOCAL_AUX_arg_type(z, n, unused)
-
-#define BOOST_LOCAL_AUX_arg(z, n, unused) \
- BOOST_LOCAL_AUX_arg_type(z, n, unused) \
- BOOST_LOCAL_AUX_arg_name(z, n, unused)
-
-#define BOOST_LOCAL_AUX_f \
- R (BOOST_PP_ENUM(BOOST_LOCAL_AUX_arity, BOOST_LOCAL_AUX_arg_type, ~))
-
-namespace boost { namespace local { namespace aux {
-
-template<typename F>
-class overload_base {
- // Empty template cannot be used directly (only via its specializations).
-};
-
-# define BOOST_PP_ITERATION_PARAMS_1 \
- (3, (0, BOOST_LOCAL_CONFIG_FUNCTION_ARITY_MAX, \
- BOOST_LOCAL_AUX_FILE_OVERLOAD_BASE_HPP))
-# include BOOST_PP_ITERATE() // Iterate over funciton arity.
-
-}}} // namespace boost::local::aux
-
-#undef BOOST_LOCAL_AUX_arg_type
-#undef BOOST_LOCAL_AUX_arg_name
-#undef BOOST_LOCAL_AUX_arg_tparam
-#undef BOOST_LOCAL_AUX_arg
-#undef BOOST_LOCAL_AUX_f
-
-# endif // #include guard
-
-#elif BOOST_PP_ITERATION_DEPTH() == 1
-# define BOOST_LOCAL_AUX_arity BOOST_PP_FRAME_ITERATION(1)
-
-// Iterating within namespace boost::local::aux.
-template<typename R
- BOOST_PP_COMMA_IF(BOOST_LOCAL_AUX_arity)
- BOOST_PP_ENUM(BOOST_LOCAL_AUX_arity, BOOST_LOCAL_AUX_arg_tparam, ~)
->
-class overload_base<BOOST_LOCAL_AUX_f> {
-public:
- /* implicit */ inline overload_base(
- // This requires specified type to be implicitly convertible to
- // a boost::function<> functor.
- ::boost::function<BOOST_LOCAL_AUX_f> const& f): f_(f)
- {}
-
- inline R operator()(BOOST_PP_ENUM(BOOST_LOCAL_AUX_arity,
- BOOST_LOCAL_AUX_arg, ~)) const {
- return f_(BOOST_PP_ENUM(BOOST_LOCAL_AUX_arity,
- BOOST_LOCAL_AUX_arg_name, ~));
- }
-
-private:
- ::boost::function<BOOST_LOCAL_AUX_f> const f_;
-};
-
-# undef BOOST_LOCAL_AUx_arity
-#endif // iteration
-


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