File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -283,34 +283,6 @@ class init : public init_base<init<BOOST_PYTHON_OVERLOAD_ARGS> >
283283 BOOST_STATIC_CONSTANT (int , n_arguments = mpl::size<reversed_args>::value);
284284};
285285
286- # if 1
287- template <> // specialization for zero args
288- class init <> : public init_base<init<> >
289- {
290- typedef init_base<init<> > base;
291- public:
292- typedef init<> self_t ;
293-
294- init (char const * doc_ = 0 )
295- : base(doc_)
296- {
297- }
298-
299- template <class CallPoliciesT >
300- init_with_call_policies<CallPoliciesT, self_t >
301- operator [](CallPoliciesT const & policies) const
302- {
303- return init_with_call_policies<CallPoliciesT, self_t >(
304- policies, this ->doc_string (), this ->keywords ());
305- }
306-
307- BOOST_STATIC_CONSTANT (int , n_defaults = 0 );
308- BOOST_STATIC_CONSTANT (int , n_arguments = 0 );
309-
310- typedef detail::type_list<> reversed_args;
311- };
312- # endif
313-
314286// /////////////////////////////////////////////////////////////////////////////
315287//
316288// optional
You can’t perform that action at this time.
0 commit comments