map-like type with fixed size
| 71 | |
| 72 | // map-like type with fixed size |
| 73 | struct T4 { |
| 74 | using value_type = std::pair<std::string, int>; |
| 75 | |
| 76 | value_type* |
| 77 | begin() |
| 78 | { |
| 79 | return data; |
| 80 | } |
| 81 | |
| 82 | value_type* |
| 83 | end() |
| 84 | { |
| 85 | return data + sizeof(data); |
| 86 | } |
| 87 | |
| 88 | std::pair< value_type*, bool > |
| 89 | emplace(value_type); |
| 90 | |
| 91 | value_type data[2]; |
| 92 | }; |
| 93 | |
| 94 | struct T5 { }; |
| 95 |
nothing calls this directly
no outgoing calls
no test coverage detected