MCPcopy Create free account
hub / github.com/apache/trafficserver / dynamic_ptr_cast

Function dynamic_ptr_cast

include/tscore/IntrusivePtr.h:259–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257*/
258template <typename T, typename U>
259IntrusivePtr<T>
260dynamic_ptr_cast(IntrusivePtr<U> const &src)
261{
262 return IntrusivePtr<T>(dynamic_cast<T *>(src.get()));
263}
264
265/** Pointer cast.
266

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected