mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 15:23:03 +01:00
Add KeyComparator parameter to GenericMap helpers.
This commit is contained in:
parent
ec84cdb189
commit
992bb6cd2b
@ -369,10 +369,18 @@ private:
|
||||
};
|
||||
|
||||
typedef GenericMap<Pair<Full<string, string> > > StringMap;
|
||||
template <typename T, typename V> using NonPooledMap = GenericMap<Pair<NonPooled<T, V>>>;
|
||||
template <typename T, typename V> using LeftPooledMap = GenericMap<Pair<Left<T, V>>>;
|
||||
template <typename T, typename V> using RightPooledMap = GenericMap<Pair<Right<T, V>>>;
|
||||
template <typename T, typename V> using FullPooledMap = GenericMap<Pair<Full<T, V>>>;
|
||||
|
||||
template <typename T, typename V, typename KeyComparator = DefaultComparator<T>>
|
||||
using NonPooledMap = GenericMap<Pair<NonPooled<T, V>>, KeyComparator>;
|
||||
|
||||
template <typename T, typename V, typename KeyComparator = DefaultComparator<T>>
|
||||
using LeftPooledMap = GenericMap<Pair<Left<T, V>>, KeyComparator>;
|
||||
|
||||
template <typename T, typename V, typename KeyComparator = DefaultComparator<T>>
|
||||
using RightPooledMap = GenericMap<Pair<Right<T, V>>, KeyComparator>;
|
||||
|
||||
template <typename T, typename V, typename KeyComparator = DefaultComparator<T>>
|
||||
using FullPooledMap = GenericMap<Pair<Full<T, V>>, KeyComparator>;
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user