20template <
typename Key,
typename Val>
35 template <
typename InputIterator>
36 dict(InputIterator first, InputIterator last);
42 std::size_t size(
void)
const;
49 std::vector<Key> keys(
void)
const;
56 std::vector<Val> vals(
void)
const;
63 bool has_key(
const Key& key)
const;
71 const Val& get(
const Key& key,
const Val& other)
const;
78 const Val& get(
const Key& key)
const;
85 void set(
const Key& key,
const Val& val);
94 const Val& operator[](
const Key& key)
const;
102 Val& operator[](
const Key& key);
124 Val pop(
const Key& key);
141 void update(
const dict<Key, Val>& new_dict,
bool fail_on_conflict =
true);
145 operator std::map<Key, Val>()
const;
148 typedef std::pair<Key, Val> pair_t;
149 std::list<pair_t> _map;
#define UHD_API_HEADER
Definition: config.h:88
UHD_INLINE bool operator!=(fp_compare_delta< float_t > lhs, fp_compare_delta< float_t > rhs)
Definition: fp_compare_delta.ipp:64
Definition: build_info.hpp:12
UHD_API bool operator==(const time_spec_t &, const time_spec_t &)
Implement equality_comparable interface.