Syntax:
#include <string> void clear();
clear()関数は、文字列の要素をすべて削除します。 clear()関数は、線形時間で処理されます。
Related Topics: erase