MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / of

Method of

extern/pybind/include/pybind11/numpy.h:879–881  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

877 /// Return dtype associated with a C++ type.
878 template <typename T>
879 static dtype of() {
880 return detail::npy_format_descriptor<typename std::remove_cv<T>::type>::dtype();
881 }
882
883 /// Return the type number associated with a C++ type.
884 /// This is the constexpr equivalent of `dtype::of<T>().num()`.

Callers

nothing calls this directly

Calls 1

dtypeClass · 0.85

Tested by

no test coverage detected