MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / deprecateMember

Function deprecateMember

python/include/utils.h:118–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116
117template <typename RetVal, typename Cls, typename... Args>
118constexpr auto deprecateMember(RetVal (Cls::*func)(Args...) const, const char* useInstead)
119 -> DeprecatedMemberFunc</*isConst=*/true, RetVal, Cls, Args...>
120{
121 return DeprecatedMemberFunc</*isConst=*/true, RetVal, Cls, Args...>{func, useInstead};
122}
123
124template <typename RetVal, typename Cls, typename... Args>
125constexpr auto deprecateMember(RetVal (Cls::*func)(Args...), const char* useInstead)

Callers 3

bindGraphFunction · 0.85
bindAlgorithmFunction · 0.85
getNbErrorsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected