MCPcopy Create free account
hub / github.com/dmlc/dmlc-core / get

Method get

include/dmlc/memory.h:194–197  ·  view source on GitHub ↗

! * \return get the pointer content. */

Source from the content-addressed store, hash-verified

192 * \return get the pointer content.
193 */
194 inline T* get() const {
195 if (block_ == nullptr) return nullptr;
196 return reinterpret_cast<T*>(&(block_->data));
197 }
198 /*!
199 * \brief reset the pointer to nullptr.
200 */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected