validate.hpp 885 B

123456789101112131415161718192021222324
  1. // Copyright (C) 2009-2012 Lorenzo Caminiti
  2. // Distributed under the Boost Software License, Version 1.0
  3. // (see accompanying file LICENSE_1_0.txt or a copy at
  4. // http://www.boost.org/LICENSE_1_0.txt)
  5. // Home at http://www.boost.org/libs/local_function
  6. #ifndef BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_VALIDATE_HPP_
  7. #define BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_VALIDATE_HPP_
  8. #include <boost/local_function/aux_/preprocessor/traits/decl_/validate_/this_count.hpp>
  9. #include <boost/local_function/aux_/preprocessor/traits/decl_/validate_/return_count.hpp>
  10. // PUBLIC //
  11. // Validate params after they have been parsed.
  12. #define BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_VALIDATE(decl_traits) \
  13. BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_VALIDATE_THIS_COUNT( \
  14. BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_VALIDATE_RETURN_COUNT( \
  15. decl_traits \
  16. ))
  17. #endif // #include guard