MCPcopy Create free account
hub / github.com/Simple-Robotics/Simple / make_lambda_visitor

Function make_lambda_visitor

include/simple/utils/visitors.hpp:77–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 // This deduces the template arguments automatically, so you don't need to specify them.
76 template<typename ReturnType = void, typename... Lambdas>
77 lambda_visitor<ReturnType, Lambdas...> make_lambda_visitor(Lambdas... lambdas)
78 {
79 return lambda_visitor<ReturnType, Lambdas...>(lambdas...);
80 }
81
82 } // namespace visitors
83} // namespace simple

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected