TrinityCore
Loading...
Searching...
No Matches
MapUtils.h File Reference
#include <memory>
#include <type_traits>
+ Include dependency graph for MapUtils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Trinity
 
namespace  Trinity::Containers
 

Concepts

concept  Trinity::Containers::Map
 

Functions

template<Map M>
auto Trinity::Containers::MapGetValuePtr (M &map, typename M::key_type const &key)
 
template<Map M>
void Trinity::Containers::MultimapErasePair (M &multimap, typename M::key_type const &key, typename M::mapped_type const &value)
 

Variables

constexpr auto Trinity::Containers::MapKey = []<typename Pair>(Pair&& pair) constexpr -> decltype(auto) { return (std::forward<Pair>(pair).first); }
 
constexpr auto Trinity::Containers::MapValue