名前空間
変種
操作

std::char_traits<CharT>::move

提供: cppreference.com
< cpp‎ | string‎ | char traits
2015年11月30日 (月) 06:55時点におけるP12bot (トーク | 投稿記録)による版

CharT* move( CharT* dest, const CharT* src, std::size_t count );
コピーした文字列からcount文字がsrcが指す文字列にdestによって指さ.
Original:
Copies count character from character string pointed to by src to character string pointed to by dest.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
コピーした文字の範囲が重複している場合でも、すなわちsrcが[になって正しく実行destdest + count).
Original:
Performs correctly even if the copied character ranges overlap, i.e. src is in [dest, dest + count).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

目次

パラメータ

dest -
コピー先の文字列へのポインタ
Original:
pointer to a character string to copy to
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
src -
からコピーする文字列へのポインタ
Original:
pointer to a character string to copy from
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
count -
コピーする文字数
Original:
the number of characters to copy
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

値を返します

dest

例外

(なし)

複雑性

リニア.
Original:
Linear.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.