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

View File

@ -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>

View File

@ -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

View File

@ -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>

View File

@ -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`.
//]

View File

@ -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; }