| 16 | } |
| 17 | |
| 18 | void Bar(Thing a) { |
| 19 | assert(a.name.get_view() == "thing"); |
| 20 | assert(a.value.size() == 2); |
| 21 | assert(a.value[0].get_view() == "value1"); |
| 22 | assert(a.value[1].get_view() == "value2"); |
| 23 | } |
| 24 | Thing Baz(Thing a) { |
| 25 | for (char &c : a.name) { |
| 26 | c = std::toupper(c); |