MCPcopy Create free account
hub / github.com/activeloopai/deeplake / dynamic_cast_

Method dynamic_cast_

cpp/nd/array.hpp:778–785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

776
777 template <typename T>
778 inline const T* dynamic_cast_() const
779 {
780 const auto* h = dynamic_cast<const concrete_holder_<T>*>(holder());
781 if (h == nullptr) {
782 return nullptr;
783 }
784 return &h->impl_;
785 }
786
787 template <typename T>
788 inline const T* static_cast_() const

Callers

nothing calls this directly

Calls 1

holderClass · 0.70

Tested by

no test coverage detected