MCPcopy Create free account
hub / github.com/GodotECS/godex / ordered_insert

Method ordered_insert

storage/static_vector.h:155–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153 }
154
155 void ordered_insert(T p_val) {
156 U i;
157 for (i = 0; i < count; i++) {
158 if (p_val < data[i]) {
159 break;
160 }
161 }
162 insert(i, p_val);
163 }
164
165 _FORCE_INLINE_ StaticVector() {}
166 _FORCE_INLINE_ StaticVector(const StaticVector &p_from) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected