bsl::set::contains

Return true if this set contains an element equivalent to key.

Synopsis

Declared in <bslstl_set.h>

bool
contains(key_type const& key) const;

Return Value

true if an equivalent key is present, and false otherwise

Parameters

NameDescription
keykey value to look up