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

Function dynamic_pointer_cast

dlib/smart_pointers/shared_ptr.h:466–471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

464
465 template<typename T, typename U>
466 shared_ptr<T> dynamic_pointer_cast(
467 const shared_ptr<U>& r
468 )
469 {
470 return shared_ptr<T>(r, shared_ptr_dynamic_cast());
471 }
472
473 template<typename E, typename T, typename Y>
474 std::basic_ostream<E, T> & operator<< (std::basic_ostream<E, T> & os, shared_ptr<Y> const & p)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected