MCPcopy Create free account
hub / github.com/Dobiasd/FunctionalPlus / constructor_as_function

Function constructor_as_function

include/fplus/composition.hpp:325–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323// create_foo(1,2) == foo(1, 2);
324template <typename T, class... Types>
325T constructor_as_function(Types... args)
326{
327 return T(args...);
328}
329
330} // namespace fplus
331

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected