MCPcopy Create free account
hub / github.com/boost-ext/di / given_lambda_module_no_bindings

Function given_lambda_module_no_bindings

test/pt/di_run_time.cpp:160–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158// ---------------------------------------------------------------------------
159
160auto given_lambda_module_no_bindings() {
161 auto module = [] { return di::make_injector(); };
162 return di::make_injector(module()).create<int>();
163}
164
165auto expected_lambda_module_no_bindings() { return 0; }
166

Callers

nothing calls this directly

Calls 2

make_injectorFunction · 0.50
moduleFunction · 0.50

Tested by

no test coverage detected