2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-24 18:12:43 +00:00

fixed case where function has all default arguments, also added a test in defaults.cpp

[SVN r15165]
This commit is contained in:
Joel de Guzman
2002-09-04 23:51:24 +00:00
parent 4d53fb97b6
commit ce2e9de6fb

View File

@@ -199,7 +199,7 @@ struct define_stub_function {};
>::type stubs_type;
BOOST_STATIC_ASSERT(
(stubs_type::max_args + 1) <=
(stubs_type::max_args) <=
boost::python::detail::type_list_size<SigT>::value);
typedef typename stubs_type::template gen<SigT> gen_type;