mirror of
https://github.com/boostorg/functional.git
synced 2025-07-30 20:47:17 +02:00
Added some tests to figure out pp problem with OverloadedFunciton on Sun.
[SVN r77925]
This commit is contained in:
@ -11,9 +11,8 @@
|
||||
# ifndef BOOST_FUNCTIONAL_OVERLOADED_FUNCTION_HPP_
|
||||
# define BOOST_FUNCTIONAL_OVERLOADED_FUNCTION_HPP_
|
||||
|
||||
/** @todo[Lorenzo Caminiti] Uncomment this... trying to see what breaks on Sun */
|
||||
//# include <boost/functional/overloaded_function/detail/base.hpp>
|
||||
//# include <boost/functional/overloaded_function/detail/function_type.hpp>
|
||||
# include <boost/functional/overloaded_function/detail/base.hpp>
|
||||
# include <boost/functional/overloaded_function/detail/function_type.hpp>
|
||||
# include <boost/functional/overloaded_function/config.hpp>
|
||||
# include <boost/typeof/typeof.hpp>
|
||||
# include <boost/preprocessor/iteration/iterate.hpp>
|
||||
|
@ -10,7 +10,7 @@
|
||||
# define BOOST_FUNCTIONAL_OVERLOADED_FUNCTION_DETAIL_BASE_HPP_
|
||||
|
||||
# include <boost/functional/overloaded_function/config.hpp>
|
||||
# include <boost/function.hpp>
|
||||
/**@todo# include <boost/function.hpp>*/
|
||||
# include <boost/preprocessor/iteration/iterate.hpp>
|
||||
# include <boost/preprocessor/repetition/enum.hpp>
|
||||
# include <boost/preprocessor/cat.hpp>
|
||||
@ -39,10 +39,12 @@ namespace boost { namespace overloaded_function_detail {
|
||||
template<typename F>
|
||||
class base {}; // Empty template cannot be used directly (only its spec).
|
||||
|
||||
/*@todo
|
||||
# define BOOST_PP_ITERATION_PARAMS_1 \
|
||||
(3, (0, BOOST_FUNCTIONAL_OVERLOADED_FUNCTION_CONFIG_ARITY_MAX, \
|
||||
"boost/functional/overloaded_function/detail/base.hpp"))
|
||||
# include BOOST_PP_ITERATE() // Iterate over funciton arity.
|
||||
*/
|
||||
|
||||
} } // namespace
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
#include <boost/function_types/result_type.hpp>
|
||||
#include <boost/type_traits/remove_pointer.hpp>
|
||||
#include <boost/type_traits/remove_reference.hpp>
|
||||
#include <boost/function.hpp>
|
||||
/** @todo #include <boost/function.hpp>*/
|
||||
#include <boost/mpl/if.hpp>
|
||||
#include <boost/mpl/identity.hpp>
|
||||
#include <boost/mpl/pop_front.hpp>
|
||||
|
@ -8,7 +8,7 @@
|
||||
#ifndef IDENTITY_HPP_
|
||||
#define IDENTITY_HPP_
|
||||
|
||||
#include <boost/function.hpp>
|
||||
/** @todo #include <boost/function.hpp> */
|
||||
//[identity_typeof
|
||||
#include <boost/typeof/std/string.hpp> // No need to register `boost::function`.
|
||||
//]
|
||||
|
@ -1,5 +1,6 @@
|
||||
|
||||
#include <boost/functional/overloaded_function/detail/base.hpp>
|
||||
/**@todo remove this test */
|
||||
#include <boost/functional/overloaded_function.hpp>
|
||||
|
||||
int main() { return 0; }
|
||||
|
||||
|
Reference in New Issue
Block a user