They don't modify the object, so should be callable on const objects.
This is similar to the previous commit for std::map<>.