MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ lower_index()

template<typename K, typename V, typename Compare = std::less<K>>
template<typename Q = K>
size_t MayaFlux::Memory::FlatMap< K, V, Compare >::lower_index ( const Q & key) const
inlinenodiscardprivate

Definition at line 129 of file FlatMap.hpp.

130 {
132 return static_cast<size_t>(it - m_items.begin());
133 }
std::vector< value_type > m_items
Definition FlatMap.hpp:135
Map kept as one sorted vector, cheap to copy.
Definition FlatMap.hpp:21

Referenced by MayaFlux::Memory::FlatMap< VkDeviceMemory, vk::DeviceSize >::erase(), MayaFlux::Memory::FlatMap< VkDeviceMemory, vk::DeviceSize >::erase(), MayaFlux::Memory::FlatMap< VkDeviceMemory, vk::DeviceSize >::find(), MayaFlux::Memory::FlatMap< VkDeviceMemory, vk::DeviceSize >::find(), and MayaFlux::Memory::FlatMap< VkDeviceMemory, vk::DeviceSize >::insert_or_assign().

Here is the caller graph for this function: