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

Function static_pointer_cast

dlib/smart_pointers/shared_ptr_thread_safe.h:421–426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

419
420 template<typename T, typename U>
421 shared_ptr_thread_safe<T> static_pointer_cast(
422 const shared_ptr_thread_safe<U>& r
423 )
424 {
425 return shared_ptr_thread_safe<T>(r, shared_ptr_ts_static_cast());
426 }
427
428 template<typename T, typename U>
429 shared_ptr_thread_safe<T> const_pointer_cast(

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected