MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / get

Method get

Source/Misc/luabind/src/inheritance.cpp:88–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86 std::ptrdiff_t const cache::invalid = cache::unknown - 1;
87
88 cache_entry cache::get(
89 class_id src, class_id target, class_id dynamic_id
90 , std::ptrdiff_t object_offset) const
91 {
92 map_type::const_iterator i = m_cache.find(
93 key_type(src, target, dynamic_id, object_offset));
94 return i != m_cache.end() ? i->second : cache_entry(unknown, -1);
95 }
96
97 void cache::put(
98 class_id src, class_id target, class_id dynamic_id

Callers 1

castMethod · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected