「テンプレート:string」の版間の差分
提供: C++入門
(ページの作成:「* std::string {|class="wikitable" |+ メンバ関数 !メンバ関数 !説明 |- |constructor | 文字列オブジェクトのコ...」) |
|||
| 行1: | 行1: | ||
* [[std::string]] | * [[std::string]] | ||
| + | * [[std::string::string]] | ||
{|class="wikitable" | {|class="wikitable" | ||
|+ メンバ関数 | |+ メンバ関数 | ||
2014年2月1日 (土) 17:28時点における版
| メンバ関数 | 説明 |
|---|---|
| constructor | 文字列オブジェクトのコンストラクタ。stringの初期化について説明します。 |
| destructor | 文字列オブジェクトのデストラクタ |
| operator= | 文字列の割り当て。stringへの代入について説明します。 |
| メンバ関数 | 説明 |
|---|---|
| std::string::c_str | C文字列を取得する |
| std::string::data | 文字列データを取得する |
| std::string::substr | 部分文字列の生成 |