| 16 | } int_2; |
| 17 | |
| 18 | class annotations1 { |
| 19 | public: |
| 20 | /*<<Constructor with named parameters of the same `int` type>>*/ |
| 21 | BOOST_DI_INJECT(annotations1, (named = int_1) int i1, (named = int_2) int i2, int i3) : i1(i1), i2(i2), i3(i3) { |
| 22 | assert(i1 == 42); |
| 23 | assert(i2 == 87); |
| 24 | assert(i3 == 123); |
| 25 | } |
| 26 | |
| 27 | private: |
| 28 | int i1 = 0; |