Translations of this page?:

find

语法:

    #include <set>
    iterator find( const key_type& key );
    const_iterator find( const key_type& key ) const;

如果set中存在指定的key,则 find() 函数返回指向该key的iterator,否则返回指向end的iterator。

find() 的 时间复杂度是 K * log(N) .

 
• • • SitemapRecent changesRSScc