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

Class annotations3

example/annotations.cpp:76–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74#if !defined(__MSVC__)
75//->
76class annotations3 {
77 public:
78 /*<<Constructor with named parameters of the same `int` type>>*/
79 BOOST_DI_INJECT(annotations3, (named = "int1"_s) int i1, (named = "int2"_s) int i2, int i3) : i1(i1), i2(i2), i3(i3) {
80 assert(i1 == 42);
81 assert(i2 == 87);
82 assert(i3 == 123);
83 }
84
85 private:
86 int i1 = 0;

Callers

nothing calls this directly

Calls 1

i1Class · 0.50

Tested by

no test coverage detected