Vcsn
2.3
Be Rational
|
Weighted set: general, unordered, case. More...
#include <wet.hh>
Public Types | |
using | self_t = wet_unordered_map |
using | key_t = Key |
using | value_t = Value |
using | welement_t = welement< key_t, value_t > |
using | value_type = typename map_t::value_type |
using | iterator = typename map_t::iterator |
using | const_iterator = typename map_t::const_iterator |
Public Member Functions | |
wet_unordered_map ()=default | |
wet_unordered_map (std::initializer_list< value_type > l) | |
void | set (const key_t &k, const value_t &v) |
void | set (const iterator &i, const value_t &v) |
template<typename Fun > | |
void | for_each (Fun f) const |
template<typename... Args> | |
auto | emplace (Args &&...args) -> decltype(map_.emplace(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | clear (Args &&...args) -> decltype(map_.clear(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | begin (Args &&...args) const -> decltype(map_.begin(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | find (Args &&...args) const -> decltype(map_.find(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | find (Args &&...args) -> decltype(map_.find(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | erase (Args &&...args) -> decltype(map_.erase(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | end (Args &&...args) const -> decltype(map_.end(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | begin (Args &&...args) -> decltype(map_.begin(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | end (Args &&...args) -> decltype(map_.end(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | empty (Args &&...args) const -> decltype(map_.empty(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | size (Args &&...args) const -> decltype(map_.size(std::forward< Args >(args)...)) |
Static Public Member Functions | |
static const key_t & | key_of (const value_type &p) |
static const value_t & | value_of (const value_type &p) |
Static Public Attributes | |
static constexpr wet_kind_t | kind = wet_kind_t::unordered_map |
Private Types | |
using | map_t = std::unordered_map< Key, Value, Hash, KeyEqual > |
Private Attributes | |
map_t | map_ |
Weighted set: general, unordered, case.
using vcsn::detail::wet_unordered_map< Key, Value, Hash, KeyEqual >::const_iterator = typename map_t::const_iterator |
using vcsn::detail::wet_unordered_map< Key, Value, Hash, KeyEqual >::iterator = typename map_t::iterator |
using vcsn::detail::wet_unordered_map< Key, Value, Hash, KeyEqual >::key_t = Key |
|
private |
using vcsn::detail::wet_unordered_map< Key, Value, Hash, KeyEqual >::self_t = wet_unordered_map |
using vcsn::detail::wet_unordered_map< Key, Value, Hash, KeyEqual >::value_t = Value |
using vcsn::detail::wet_unordered_map< Key, Value, Hash, KeyEqual >::value_type = typename map_t::value_type |
using vcsn::detail::wet_unordered_map< Key, Value, Hash, KeyEqual >::welement_t = welement<key_t, value_t> |
|
default |
|
inline |
|
inline |
Definition at line 376 of file wet.hh.
Referenced by vcsn::detail::wet_unordered_map< Key, Value, Hash, KeyEqual >::for_each().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 380 of file wet.hh.
Referenced by vcsn::detail::wet_unordered_map< Key, Value, Hash, KeyEqual >::for_each().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 359 of file wet.hh.
References vcsn::detail::wet_unordered_map< Key, Value, Hash, KeyEqual >::begin(), and vcsn::detail::wet_unordered_map< Key, Value, Hash, KeyEqual >::end().
|
inlinestatic |
|
inline |
Definition at line 348 of file wet.hh.
References vcsn::detail::v.
|
inline |
Definition at line 353 of file wet.hh.
References vcsn::detail::v.
|
inline |
|
inlinestatic |
|
static |
|
private |