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

Class T

example/user_guide/annotated_constructor_injection.cpp:17–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15auto int2 = [] {};
16
17struct T {
18 BOOST_DI_INJECT(T, (named = int1) int a, (named = int2) int b) : a(a), b(b) {}
19 int a = 0;
20 int b = 0;
21};
22
23int main() {
24 // clang-format off

Callers 1

mainFunction · 0.70

Calls 1

aClass · 0.50

Tested by

no test coverage detected