mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-25 22:52:01 +00:00
removed a redundant tag
This commit is contained in:
parent
a65017902e
commit
e206564ebf
@ -758,19 +758,19 @@ public:
|
||||
|
||||
template <detail::op_id id, detail::op_type ot, typename L, typename R, typename... Extra>
|
||||
class_ &def(const detail::op_<id, ot, L, R> &op, const Extra&... extra) {
|
||||
op.template execute<type>(*this, is_method(*this), extra...);
|
||||
op.template execute<type>(*this, extra...);
|
||||
return *this;
|
||||
}
|
||||
|
||||
template <detail::op_id id, detail::op_type ot, typename L, typename R, typename... Extra>
|
||||
class_ & def_cast(const detail::op_<id, ot, L, R> &op, const Extra&... extra) {
|
||||
op.template execute_cast<type>(*this, is_method(*this), extra...);
|
||||
op.template execute_cast<type>(*this, extra...);
|
||||
return *this;
|
||||
}
|
||||
|
||||
template <typename... Args, typename... Extra>
|
||||
class_ &def(const detail::init<Args...> &init, const Extra&... extra) {
|
||||
init.template execute<type>(*this, is_method(*this), extra...);
|
||||
init.template execute<type>(*this, extra...);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user