約272件1ページ目

条件を指定して検索しています。すべての条件を解除する

  • 対象とする言語:日本語
  • 2026/8/24 -概要. 指定した文字列を検索する。 テンプレートパラメータ制約. (5) : is_convertible_v<const T&, basic_string_view<charT, traits>> が true で ...

    Finds the first occurrence of the wide string src in the wide string pointed to by dest . The terminating null characters are not compared.

    クラステンプレート basic_string は char ライクなオブジェクト (トリビアルな標準レイアウト型の非配列オブジェクト) の並びを格納したり操作したりします。

    2024/12/5 -std::find は、値の範囲 (あなたの例では文字列の配列) を表す 2 つのイテレータ (begin、end) を受け取り、3 番目の引数 (option) と等しい文字列を指す ...

    これがHeterogeneous Overloadであり、 key と比較可能な別の型のオブジェクトを直接用いて値を検索することができ、使いやすさが向上するだけでなく、 Key の一時 ...

    std::basic_string<CharT,Traits,Allocator>::operator+= · 1) 文字列 str を追加します。 · 2) 文字 ch を追加します。 · 3) s が指すヌル終端文字列を追加します。 · 4) 初期 ...

    std::basic_string<CharT,Traits,Allocator>::find · 1) str と等しい最初の部分文字列を探します。 · 2) 範囲 [s, s+count) と等しい最初の部分文字列を探します。 · 3) s の ...

    2025/1/18 -フォーマット用の文字列(format string)に埋め込み {} を使い、引数を挿入できる。 Python の str.format スタイルをベースにしており、表記が直感的。

    std::string::substr(size_t pos, size_t len): 部分文字列の取得; std::string::find(const char*) , std::string::find(const std::string&): 文字列の検索; std::string ...

    このページでは、std::vector や std::string から、目的の値を持った要素や、ある条件に合った要素を見つけ出す方法を取り上げます。また、2つ以上の条件を組み合わせ ...