nil.hpp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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_NIL_HPP_
  7. #define BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_NIL_HPP_
  8. #include <boost/preprocessor/facilities/empty.hpp>
  9. #define BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_NIL \
  10. ( \
  11. /* returns: list of `return result_type` */ \
  12. BOOST_PP_NIL /* nil list */ \
  13. , \
  14. /* params: list of 2-tuples (param_decl, param_default) */ \
  15. BOOST_PP_NIL /* nil list */ \
  16. , \
  17. /* const-binds: list of 2-tuple `(var_untyped, var_typed)` */ \
  18. BOOST_PP_NIL /* nil list */ \
  19. , \
  20. /* const-bind this: list of 1-tuple `(type)` */ \
  21. BOOST_PP_NIL \
  22. /* number of const-bind `this` */ \
  23. , \
  24. /* binds: list of 2-tuple `(var_untyped, var_typed)` */ \
  25. BOOST_PP_NIL /* nil list */ \
  26. , \
  27. /* bind this: list of 1-type `(type)` */ \
  28. BOOST_PP_NIL \
  29. , \
  30. /* error: `[ERROR_message_text] EMPTY` */ \
  31. BOOST_PP_EMPTY /* no error */ \
  32. )
  33. #endif // #include guard