MCPcopy Create free account
hub / github.com/boostorg/json / T4

Class T4

test/value_to.cpp:73–92  ·  view source on GitHub ↗

map-like type with fixed size

Source from the content-addressed store, hash-verified

71
72// map-like type with fixed size
73struct 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
94struct T5 { };
95

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected