名前空間
変種
操作

std::char_traits<CharT>::length

提供: cppreference.com
< cpp‎ | string‎ | char traits
2012年10月30日 (火) 20:42時点におけるP12 (トーク | 投稿記録)による版

std::size_t length( const CharT* s );
ですsが指す文字列の長さ、終端のnull文字(Char())の位置を返します。.
Original:
Returns the length of the character sequence pointed to by s, that is, the position of the terminating null character (Char()).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

目次