CBMC
|
Const iterator. More...
#include <small_map.h>
Public Member Functions | |
const_iterator (const small_mapt &m) | |
const_iterator (const small_mapt &m, const std::size_t idx, const std::size_t ii) | |
const valuet | operator* () const |
const std::shared_ptr< valuet > | operator-> () const |
const T & | get_value () const |
Non-standard direct access to the underlying value instead of creating a valuet object. More... | |
const_iterator | operator++ () |
const_iterator | operator++ (int) |
bool | operator== (const const_iterator &other) const |
bool | operator!= (const const_iterator &other) const |
Private Member Functions | |
void | find_next () |
Private Attributes | |
const small_mapt & | m |
std::size_t | idx |
std::size_t | ii |
Const iterator.
Any modification of the underlying map invalidates the iterator
Definition at line 242 of file small_map.h.
|
inlineexplicit |
Definition at line 245 of file small_map.h.
|
inline |
Definition at line 250 of file small_map.h.
|
inlineprivate |
Definition at line 307 of file small_map.h.
|
inline |
Non-standard direct access to the underlying value instead of creating a valuet
object.
Avoids creating a very short-lived valuet
object when only the value is needed.
Definition at line 272 of file small_map.h.
|
inline |
Definition at line 301 of file small_map.h.
|
inline |
Definition at line 258 of file small_map.h.
|
inline |
Definition at line 277 of file small_map.h.
|
inline |
Definition at line 285 of file small_map.h.
|
inline |
Definition at line 263 of file small_map.h.
|
inline |
Definition at line 296 of file small_map.h.
|
private |
Definition at line 323 of file small_map.h.
|
private |
Definition at line 324 of file small_map.h.
|
private |
Definition at line 322 of file small_map.h.