ChessPlusPlus
WIP
cplusplus.com Community Project
|
#include <Utilities.hpp>
Public Member Functions | |
KeyIter (typename Map::const_iterator mapit) noexcept | |
KeyIter (KeyIter const &)=default | |
KeyIter (KeyIter &&)=default | |
KeyIter & | operator= (KeyIter const &)=default |
KeyIter & | operator= (KeyIter &&)=default |
KeyIter & | operator++ () noexcept |
KeyIter | operator++ (int) noexcept |
Map::key_type const & | operator* () const |
Map::key_type const * | operator-> () const |
Friends | |
bool | operator== (KeyIter const &a, KeyIter const &b) noexcept |
bool | operator!= (KeyIter const &a, KeyIter const &b) noexcept |
Allows iterating over the keys of a map. There does not yet exist a version for iterating over the values of a map.
Map | must be std::map<Key, Value> or equivalent container |
|
inlinenoexcept |
|
default |
|
default |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
default |
|
default |
|
friend |
|
friend |