开发者

find method of the set

开发者 https://www.devze.com 2023-01-28 12:24 出处:网络
What exactly find method of the standar开发者_JAVA技巧t set returns? Iterator to the actual element in the set or to its copy.It returns an iterator pointing to the actual element in the set

What exactly find method of the standar开发者_JAVA技巧t set returns? Iterator to the actual element in the set or to its copy.


It returns an iterator pointing to the actual element in the set

From table 69 in standard 23.1.2/7

expression

a.find(k)

assertion/note pre/post-condition

returns an iterator pointing to an element with the key equivalent to k, or a.end() if such an element is not found.


Iterator to the actual element or end() if not found

0

精彩评论

暂无评论...
验证码 换一张
取 消