MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / begin

Method begin

source/core/StarFlatHashTable.hpp:301–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299
300template <typename Value, typename Key, typename GetKey, typename Hash, typename Equals, typename Allocator>
301auto FlatHashTable<Value, Key, GetKey, Hash, Equals, Allocator>::begin() -> iterator {
302 if (m_buckets.empty())
303 return end();
304 return iterator{scan(m_buckets.data())};
305}
306
307template <typename Value, typename Key, typename GetKey, typename Hash, typename Equals, typename Allocator>
308auto FlatHashTable<Value, Key, GetKey, Hash, Equals, Allocator>::end() -> iterator {

Callers 1

operator==Method · 0.45

Calls 3

endFunction · 0.85
emptyMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected