Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!

Idiom #313 Test for map equality

Set b to true if the maps m and n have the same key/value entries, false otherwise.

#include <map>
b = m == n;

New implementation...
< >
programming-idioms.org