次の方法で共有


search_n (STL/CLR)

バイナリ述語によって指定されるその値に対する特定の値または関係を持つ要素の数の指定範囲の最初のサブシーケンスを検索します。

template<class _FwdIt1, class _Diff2, class _Ty> inline
    _FwdIt1 search_n(_FwdIt1 _First1, _FwdIt1 _Last1,
        _Diff2 _Count, const _Ty& _Val);
template<class _FwdIt1, class _Diff2, class _Ty, class _Pr> inline
    _FwdIt1 search_n(_FwdIt1 _First1, _FwdIt1 _Last1,
        _Diff2 _Count, const _Ty& _Val, _Pr _Pred);

解説

この関数は、 STL の関数 search_n同様に動作します。詳細については、「search_n」を参照してください。

必要条件

ヘッダー: <cliext/アルゴリズム>

名前空間: の cliext

参照

関連項目

algorithm (STL/CLR)