mini-llvm 0.1.0
Loading...
Searching...
No Matches
mini_llvm::HashMap< Key, Value, Hash, Equal, Allocator > Class Template Reference

#include <HashMap.h>

Inheritance diagram for mini_llvm::HashMap< Key, Value, Hash, Equal, Allocator >:
Collaboration diagram for mini_llvm::HashMap< Key, Value, Hash, Equal, Allocator >:

Public Member Functions

template<typename Key2 = Key>
Value & operator[] (const Key2 &key)
template<typename Key2 = Key>
const Value & operator[] (const Key2 &key) const
template<typename Key2 = Key>
OptionalReference< Value > get (const Key2 &key)
template<typename Key2 = Key>
OptionalReference< const Value > get (const Key2 &key) const
template<typename Key2 = Key, typename Value2 = Value>
std::pair< iterator, bool > put (Key2 &&key, Value2 &&value)

Member Function Documentation

◆ get() [1/2]

template<typename Key, typename Value, typename Hash = std::hash<Key>, typename Equal = std::equal_to<Key>, typename Allocator = std::allocator<std::pair<const Key, Value>>>
template<typename Key2 = Key>
OptionalReference< Value > mini_llvm::HashMap< Key, Value, Hash, Equal, Allocator >::get ( const Key2 & key)
inline

◆ get() [2/2]

template<typename Key, typename Value, typename Hash = std::hash<Key>, typename Equal = std::equal_to<Key>, typename Allocator = std::allocator<std::pair<const Key, Value>>>
template<typename Key2 = Key>
OptionalReference< const Value > mini_llvm::HashMap< Key, Value, Hash, Equal, Allocator >::get ( const Key2 & key) const
inline

◆ operator[]() [1/2]

template<typename Key, typename Value, typename Hash = std::hash<Key>, typename Equal = std::equal_to<Key>, typename Allocator = std::allocator<std::pair<const Key, Value>>>
template<typename Key2 = Key>
Value & mini_llvm::HashMap< Key, Value, Hash, Equal, Allocator >::operator[] ( const Key2 & key)
inline

◆ operator[]() [2/2]

template<typename Key, typename Value, typename Hash = std::hash<Key>, typename Equal = std::equal_to<Key>, typename Allocator = std::allocator<std::pair<const Key, Value>>>
template<typename Key2 = Key>
const Value & mini_llvm::HashMap< Key, Value, Hash, Equal, Allocator >::operator[] ( const Key2 & key) const
inline

◆ put()

template<typename Key, typename Value, typename Hash = std::hash<Key>, typename Equal = std::equal_to<Key>, typename Allocator = std::allocator<std::pair<const Key, Value>>>
template<typename Key2 = Key, typename Value2 = Value>
std::pair< iterator, bool > mini_llvm::HashMap< Key, Value, Hash, Equal, Allocator >::put ( Key2 && key,
Value2 && value )
inline

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