|
Boost-Commit : |
From: oryol_at_[hidden]
Date: 2008-07-31 14:13:18
Author: jeremypack
Date: 2008-07-31 14:13:17 EDT (Thu, 31 Jul 2008)
New Revision: 47917
URL: http://svn.boost.org/trac/boost/changeset/47917
Log:
Fixes for Doxygen - hide implementation details.
Removed:
sandbox/boost/reflection/factory.hpp
Text files modified:
sandbox/boost/reflection/function.hpp | 4 ++++
sandbox/boost/reflection/reflection.hpp | 1 -
2 files changed, 4 insertions(+), 1 deletions(-)
Deleted: sandbox/boost/reflection/factory.hpp
==============================================================================
--- sandbox/boost/reflection/factory.hpp 2008-07-31 14:13:17 EDT (Thu, 31 Jul 2008)
+++ (empty file)
@@ -1,35 +0,0 @@
-/*
- * Copyright Jeremy Pack 2008
- * 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)
- *
- * See http://www.boost.org/ for latest version.
- */
-
-#ifndef BOOST_REFLECTION_FACTORY_HPP
-#define BOOST_REFLECTION_FACTORY_HPP
-#include <boost/reflection/common.hpp>
-namespace boost {namespace reflections {
-#define BOOST_REFLECTION_CONSTRUCT_FUNCTION(Z, N, _) \
-template <class Actual \
-BOOST_PP_COMMA_IF(N) \
-BOOST_PP_ENUM_PARAMS(N, class Param) > \
-Actual * construct(BOOST_PP_ENUM_BINARY_PARAMS(N, Param, p)) { \
- return new Actual(BOOST_PP_ENUM_PARAMS(N, p)); \
-}
-
-#define BOOST_REFLECTION_CONSTRUCTI_FUNCTION(Z, N, _) \
-template <class Interface, class Actual \
-BOOST_PP_COMMA_IF(N) \
-BOOST_PP_ENUM_PARAMS(N, class Param) > \
-Interface * construct_interface(BOOST_PP_ENUM_BINARY_PARAMS(N, Param, p)) { \
- return new Actual(BOOST_PP_ENUM_PARAMS(N, p)); \
-}
-BOOST_PP_REPEAT(BOOST_PP_INC(BOOST_REFLECTION_MAX_FUNCTOR_PARAMS), \
- BOOST_REFLECTION_CONSTRUCT_FUNCTION, _)
-BOOST_PP_REPEAT(BOOST_PP_INC(BOOST_REFLECTION_MAX_FUNCTOR_PARAMS), \
- BOOST_REFLECTION_CONSTRUCTI_FUNCTION, _)
-
-}}
-#endif
Modified: sandbox/boost/reflection/function.hpp
==============================================================================
--- sandbox/boost/reflection/function.hpp (original)
+++ sandbox/boost/reflection/function.hpp 2008-07-31 14:13:17 EDT (Thu, 31 Jul 2008)
@@ -15,6 +15,9 @@
namespace boost {
namespace reflections {
namespace impl {
+#ifdef BOOST_EXTENSION_DOXYGEN_INVOKED
+
+#else
typedef void (instance::*MemberFunctionPtr)();
} // namespace impl
template <class ReturnValue = void
@@ -27,6 +30,7 @@
BOOST_PP_INC(BOOST_REFLECTION_MAX_FUNCTOR_PARAMS) - 1)
#define BOOST_PP_FILENAME_1 <boost/reflection/impl/function.hpp>
#include BOOST_PP_ITERATE()
+#endif
} // namespace reflections
} // namespace boost
#endif
Modified: sandbox/boost/reflection/reflection.hpp
==============================================================================
--- sandbox/boost/reflection/reflection.hpp (original)
+++ sandbox/boost/reflection/reflection.hpp 2008-07-31 14:13:17 EDT (Thu, 31 Jul 2008)
@@ -20,7 +20,6 @@
#include <boost/reflection/constructor.hpp>
#include <boost/reflection/data.hpp>
#include <boost/reflection/data_info.hpp>
-#include <boost/reflection/factory.hpp>
#include <boost/reflection/function.hpp>
namespace boost {
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