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

Function const_pointer_cast

dlib/smart_pointers/shared_ptr_thread_safe.h:429–434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427
428 template<typename T, typename U>
429 shared_ptr_thread_safe<T> const_pointer_cast(
430 shared_ptr_thread_safe<U> const & r
431 )
432 {
433 return shared_ptr_thread_safe<T>(r, shared_ptr_ts_const_cast());
434 }
435
436 template<typename T, typename U>
437 shared_ptr_thread_safe<T> dynamic_pointer_cast(

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected