Added some tests to figure out pp problem with OverloadedFunciton on Sun.

[SVN r77925]
This commit is contained in:
Lorenzo Caminiti
2012-04-11 20:55:54 +00:00
parent c5a4dc3db1
commit 094516d686
5 changed files with 9 additions and 7 deletions
@@ -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>