MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / operator()

Method operator()

python/include/utils.h:107–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105 using Func = typename std::conditional<isConst, RetVal (Cls::*)(Args...) const, RetVal (Cls::*)(Args...)>::type;
106
107 RetVal operator()(Cls& self, Args... args) const
108 {
109 issueDeprecationWarning(useInstead);
110 return (std::forward<Cls>(self).*func)(std::forward<Args>(args)...);
111 }
112
113 const Func func;
114 const char* useInstead;

Callers

nothing calls this directly

Calls 1

issueDeprecationWarningFunction · 0.85

Tested by

no test coverage detected