Template Function lsst::utils::python::addHash¶
Function Documentation¶
- 
template<class 
PyClass>
voidlsst::utils::python::addHash(PyClass &cls) Add
__hash__method implemented bystd::hash.- Template Parameters
 PyClass: The pybind11 class_ type. The wrapped class must have an enabled specialization ofstd::hash.
- Parameters
 cls: ThePyClassobject to which to add a wrapper.