Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
258
template <typename T, typename U>
259
IntrusivePtr<T>
260
dynamic_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
get
Method · 0.45
Tested by
no test coverage detected