MCPcopy Create free account
hub / github.com/davisking/dlib / operator->

Method operator->

dlib/smart_pointers/shared_ptr.h:357–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355 }
356
357 T* operator->(
358 ) const
359 {
360 DLIB_ASSERT(get() != 0,
361 "\tshared_ptr::operator->()"
362 << "\n\tget() can't be null"
363 << "\n\tthis: " << this
364 );
365
366 return data;
367 }
368
369 T* get() const { return data; }
370

Callers

nothing calls this directly

Calls 1

getFunction · 0.85

Tested by

no test coverage detected