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

Function dynamic_pointer_cast

dlib/smart_pointers/shared_ptr_thread_safe.h:437–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

435
436 template<typename T, typename U>
437 shared_ptr_thread_safe<T> dynamic_pointer_cast(
438 const shared_ptr_thread_safe<U>& r
439 )
440 {
441 return shared_ptr_thread_safe<T>(r, shared_ptr_ts_dynamic_cast());
442 }
443
444 template<typename E, typename T, typename Y>
445 std::basic_ostream<E, T> & operator<< (std::basic_ostream<E, T> & os, shared_ptr_thread_safe<Y> const & p)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected