| 74 | #if !defined(__MSVC__) |
| 75 | //-> |
| 76 | class 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; |