diff options
Diffstat (limited to 'boost/local_function/aux_/preprocessor/traits/decl_/validate.hpp')
-rw-r--r-- | boost/local_function/aux_/preprocessor/traits/decl_/validate.hpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/boost/local_function/aux_/preprocessor/traits/decl_/validate.hpp b/boost/local_function/aux_/preprocessor/traits/decl_/validate.hpp new file mode 100644 index 0000000000..aab7f8866c --- /dev/null +++ b/boost/local_function/aux_/preprocessor/traits/decl_/validate.hpp @@ -0,0 +1,24 @@ + +// Copyright (C) 2009-2012 Lorenzo Caminiti +// Distributed under the Boost Software License, Version 1.0 +// (see accompanying file LICENSE_1_0.txt or a copy at +// http://www.boost.org/LICENSE_1_0.txt) +// Home at http://www.boost.org/libs/local_function + +#ifndef BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_VALIDATE_HPP_ +#define BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_VALIDATE_HPP_ + +#include <boost/local_function/aux_/preprocessor/traits/decl_/validate_/this_count.hpp> +#include <boost/local_function/aux_/preprocessor/traits/decl_/validate_/return_count.hpp> + +// PUBLIC // + +// Validate params after they have been parsed. +#define BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_VALIDATE(decl_traits) \ + BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_VALIDATE_THIS_COUNT( \ + BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_VALIDATE_RETURN_COUNT( \ + decl_traits \ + )) + +#endif // #include guard + |