MCPcopy Create free account
hub / github.com/Icinga/icinga2 / DefaultObjectFactory

Function DefaultObjectFactory

lib/base/object.hpp:58–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56
57template<typename T>
58intrusive_ptr<Object> DefaultObjectFactory(const std::vector<Value>& args)
59{
60 DefaultObjectFactoryCheckArgs(args);
61
62 return new T();
63}
64
65template<typename T>
66intrusive_ptr<Object> DefaultObjectFactoryVA(const std::vector<Value>& args)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected