HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Member Functions
tt::range_map< Key, Value > Class Template Reference

Public Member Functions

void insert (Key const &first, Key const &last, Value &&value) noexcept
 Insert half open range of keys.
 
void optimize () noexcept
 Optimize range_map for improved lookup performance and reduced memory footprint.
 
values const & operator[] (Key const &key) const noexcept
 

Member Function Documentation

◆ insert()

template<typename Key , typename Value >
void tt::range_map< Key, Value >::insert ( Key const & first,
Key const & last,
Value && value )
inlinenoexcept

Insert half open range of keys.

Inserts may be slow, since it may require moves of large number of objects and allocations.

◆ optimize()

template<typename Key , typename Value >
void tt::range_map< Key, Value >::optimize ( )
inlinenoexcept

Optimize range_map for improved lookup performance and reduced memory footprint.


The documentation for this class was generated from the following file: