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

Function const_pointer_cast

dlib/smart_pointers/shared_ptr.h:458–463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

456
457 template<typename T, typename U>
458 shared_ptr<T> const_pointer_cast(
459 shared_ptr<U> const & r
460 )
461 {
462 return shared_ptr<T>(r, shared_ptr_const_cast());
463 }
464
465 template<typename T, typename U>
466 shared_ptr<T> dynamic_pointer_cast(

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected