MCPcopy Create free account
hub / github.com/ByConity/ByConity / tryGet

Method tryGet

programs/library-bridge/SharedLibrary.h:28–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27 template <typename Func>
28 Func tryGet(std::string_view name)
29 {
30 return reinterpret_cast<Func>(getImpl(name, true));
31 }
32
33private:
34 void * getImpl(std::string_view name, bool no_throw = false);

Calls 1

getImplFunction · 0.85

Tested by

no test coverage detected