MCPcopy Create free account
hub / github.com/davisking/dlib / get_ptr

Method get_ptr

dlib/any/storage.h:496–503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

494 }
495
496 void* get_ptr()
497 /*!
498 ensures
499 - returns a pointer to the underlying object or nullptr if is_empty()
500 !*/
501 {
502 return del ? (void*)&data : nullptr;
503 }
504
505 const void* get_ptr() const
506 /*!

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected