config.hpp 862 B

123456789101112131415161718192021222324252627
  1. // Boost.TypeErasure library
  2. //
  3. // Copyright 2011 Steven Watanabe
  4. //
  5. // Distributed under the Boost Software License Version 1.0. (See
  6. // accompanying file LICENSE_1_0.txt or copy at
  7. // http://www.boost.org/LICENSE_1_0.txt)
  8. //
  9. // $Id$
  10. #ifndef BOOST_TYPE_ERASURE_CONFIG_HPP_INCLUDED
  11. #define BOOST_TYPE_ERASURE_CONFIG_HPP_INCLUDED
  12. #ifndef BOOST_TYPE_ERASURE_MAX_FUNCTIONS
  13. /** The maximum number of functions that an @ref boost::type_erasure::any "any" can have. */
  14. #define BOOST_TYPE_ERASURE_MAX_FUNCTIONS 50
  15. #endif
  16. #ifndef BOOST_TYPE_ERASURE_MAX_ARITY
  17. /** The maximum number of arguments that functions in the library support. */
  18. #define BOOST_TYPE_ERASURE_MAX_ARITY 5
  19. #endif
  20. #ifndef BOOST_TYPE_ERASURE_MAX_TUPLE_SIZE
  21. /** The maximum number of elements in a @ref boost::type_erasure::tuple "tuple". */
  22. #define BOOST_TYPE_ERASURE_MAX_TUPLE_SIZE 5
  23. #endif
  24. #endif