1 // Boost.TypeErasure library
3 // Copyright 2011 Steven Watanabe
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)
11 #ifndef BOOST_TYPE_ERASURE_CONFIG_HPP_INCLUDED
12 #define BOOST_TYPE_ERASURE_CONFIG_HPP_INCLUDED
14 #ifndef BOOST_TYPE_ERASURE_MAX_FUNCTIONS
15 /** The maximum number of functions that an @ref boost::type_erasure::any "any" can have. */
16 #define BOOST_TYPE_ERASURE_MAX_FUNCTIONS 50
18 #ifndef BOOST_TYPE_ERASURE_MAX_ARITY
19 /** The maximum number of arguments that functions in the library support. */
20 #define BOOST_TYPE_ERASURE_MAX_ARITY 5
22 #ifndef BOOST_TYPE_ERASURE_MAX_TUPLE_SIZE
23 /** The maximum number of elements in a @ref boost::type_erasure::tuple "tuple". */
24 #define BOOST_TYPE_ERASURE_MAX_TUPLE_SIZE 5