size

提供:cppreference.com
移動: 案内, 検索

Syntax:

    #include <string>
    size_type size() const;

size() 関数は現在の文字列の文字数を返します。

size() の実行時間は、一定時間です。

Related Topics: capacity, empty, length, max_size, resize

個人用ツール
名前空間
変種
操作
案内
ツールボックス
他の言語