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

Method empty

modules/core/core/include/OpenString/common/sequence.h:276–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274
275 template <class T, u64 I>
276 void sequence<T, I>::empty() noexcept
277 {
278 for(T& e : *this)
279 std::destroy_at(&e);
280 this->size_ = 0;
281 }
282
283 template <class T, u64 I>
284 void sequence<T, I>::empty(u64 size) noexcept

Callers 3

WriteMethod · 0.45
storeMethod · 0.45
handle_progressMethod · 0.45

Calls 3

is_shortMethod · 0.95
dataMethod · 0.95
destroy_atFunction · 0.85

Tested by

no test coverage detected