FireSTARR
Loading...
Searching...
No Matches
fs::LinearMap< K, V > Class Template Reference

Public Member Functions

 LinearMap ()=default
 Construct empty LinearMap.
 
 LinearMap (const LinearMap &rhs)
 
 LinearMap (LinearMap &&rhs) noexcept
 
LinearMap & operator= (const LinearMap &rhs) noexcept
 
LinearMap & operator= (LinearMap &&rhs) noexcept
 
template<class... Args>
auto try_emplace (const K &k1, std::function< void(const K &k0, V &v0, V &v1)> fct_merge, Args... args) noexcept
 
auto insert (const value_type &kv, std::function< void(const K &k0, V &v0, V &v1)> fct_merge) noexcept
 
auto contains (const value_type &v) const noexcept
 
size_t size () const noexcept
 

Static Public Member Functions

static auto compare_function (const value_type &kv0, const value_type &kv1)
 

Private Types

using value_type = std::pair<K, V>
 

Private Attributes

std::vector< value_type > values_ {}
 

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