Lolly 1.4.28
|
#include "hashmap.hpp"
Go to the source code of this file.
Macros | |
#define | HASHMAP_EXTRA_CC |
#define | TMPL template <class T, class U> |
#define | H hashentry<T, U> |
Functions | |
template<class T , class U > | |
list< hashentry< T, U > > | copy_list (list< hashentry< T, U > > l) |
template<class T , class U > | |
hashmap< T, U > | copy (hashmap< T, U > h) |
template<class T , class U > | |
hashmap< T, U > | changes (hashmap< T, U > patch, hashmap< T, U > base) |
Creates a new hashmap containing entries that have changed in the 'patch' compared to 'base'. | |
template<class T , class U > | |
hashmap< T, U > | invert (hashmap< T, U > patch, hashmap< T, U > base) |
Creates a new hashmap containing entries that are different in the 'patch' compared to 'base', but with values taken from 'base'. | |
#define HASHMAP_EXTRA_CC |
Definition at line 13 of file hashmap_extra.ipp.
Definition at line 17 of file hashmap_extra.ipp.
Definition at line 72 of file hashmap_extra.ipp.
Definition at line 81 of file hashmap_extra.ipp.
Creates a new hashmap containing entries that have changed in the 'patch' compared to 'base'.
T | The type of the key in the hashmap. |
U | The type of the value in the hashmap. |
patch | The hashmap containing updated key-value pairs. |
base | The original hashmap that serves as the reference. |
Definition at line 91 of file hashmap_extra.ipp.
Creates a new hashmap containing entries that are different in the 'patch' compared to 'base', but with values taken from 'base'.
T | The type of the key in the hashmap. |
U | The type of the value in the hashmap. |
patch | The hashmap containing potentially updated key-value pairs. |
base | The original hashmap that serves as the reference. |
Definition at line 105 of file hashmap_extra.ipp.