Template Class StorableHelper¶
Defined in File python.h
Class Documentation¶
-
template<class
Base
= Storable>
classStorableHelper
: public Base¶ “Trampoline” for Storable to let it be used as a base class in Python.
Subclasses of Storable that are wrapped in pybind11 should have a similar helper that subclasses
StorableHelper<subclass>
. This helper can be skipped if the subclass neither adds any virtual methods nor implements any abstract methods.- See
- Template Parameters
Base
: the exact (most specific) class being wrapped