名前空間
変種
操作

std::char_traits::move

提供: cppreference.com
< cpp‎ | string‎ | char traits

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:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 複雑

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