Lines Matching defs:metaclass
56 /// Annotation which requests that a special metaclass is created for a type
57 struct metaclass {
60 PYBIND11_DEPRECATED("py::metaclass() is no longer required. It's turned on by default now.")
61 metaclass() {}
63 /// Override pybind11's default metaclass
64 explicit metaclass(handle value) : value(value) { }
239 /// Custom metaclass (optional)
240 handle metaclass;
425 struct process_attribute<metaclass> : process_attribute_default<metaclass> {
426 static void init(const metaclass &m, type_record *r) { r->metaclass = m.value; }