![]() |
Lumiera 0.pre.04
»edit your freedom«
|
#include "lib/diff/tree-mutator-collection-binding.hpp"
Definition at line 141 of file tree-mutator-collection-binding.hpp.
Public Types | |
| using | Map = _AsMap< M > |
| using | Key = Map::key_type |
| using | Val = Map::mapped_type |
| using | Elm = std::pair< const Key, Val > |
Static Public Member Functions | |
| static auto | recentElmRawIter (Map &map) |
heuristic for std::map: lookup via reverse iterator. | |
| static void | append (Map &map, Elm &&elm) |
Definition at line 143 of file tree-mutator-collection-binding.hpp.
| using Key = Map::key_type |
Definition at line 144 of file tree-mutator-collection-binding.hpp.
| using Val = Map::mapped_type |
Definition at line 145 of file tree-mutator-collection-binding.hpp.
Definition at line 146 of file tree-mutator-collection-binding.hpp.
|
inlinestatic |
heuristic for std::map: lookup via reverse iterator.
Since std::map iterates in key order, the most recently inserted element is likely also the largest element. If this guess fails, there will always be a second try by searching over all elements.
Definition at line 154 of file tree-mutator-collection-binding.hpp.
Definition at line 161 of file tree-mutator-collection-binding.hpp.
Collaboration diagram for ContainerTraits< M, IF_is_map< M > >: