MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / ordered

Function ordered

modules/engine/runtime/src/ecs/set.cpp:37–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 }
36
37 bool ordered(const sugoi_type_set_t& value)
38 {
39 return value.length == 0 || std::is_sorted(value.data, value.data+value.length);
40 }
41 bool ordered(const sugoi_entity_set_t& value)
42 {
43 return value.length == 0 ||std::is_sorted(value.data, value.data+value.length);

Callers 10

sugoiS_allocate_typeFunction · 0.85
sugoiS_destroy_allFunction · 0.85
sugoiS_cast_view_deltaFunction · 0.85
sugoiS_cast_group_deltaFunction · 0.85
sugoiS_queryFunction · 0.85
sugoiS_enable_componentsFunction · 0.85
sugoiQ_set_metaFunction · 0.85
sugoiQ_createFunction · 0.85

Calls 1

is_sortedFunction · 0.85

Tested by

no test coverage detected