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 11 #ifndef BOOST_TYPE_ERASURE_CONFIG_HPP_INCLUDED 12 #define BOOST_TYPE_ERASURE_CONFIG_HPP_INCLUDED 13 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 17 #endif 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 21 #endif 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 25 #endif 26 27 #endif 28