Documentation Home >> Headers >> <jss/concurrent_map.hpp> Header >> jss::concurrent_map >> begin member function

Obtain an iterator referring to the first entry in a given jss::concurrent_map instance, or end() if the map is empty.

iterator begin();

Returns:

An iterator referring to the first key-value pair in *this, or this->end() if the map is empty.

Throws:

Nothing.

Synchronization:

begin() may be called concurrently with any other member function of jss::concurrent_map on a given instance (except for the constructor and destructor) without external synchronization.

Header

#include <jss/concurrent_map.hpp>

See Also