std::experimental::basic_string_view<CharT,Traits>:: copy
| Technical Specification | ||||
| Filesystem library (filesystem TS) | ||||
| Library fundamentals (library fundamentals TS) | ||||
| Library fundamentals 2 (library fundamentals TS v2) | ||||
| Library fundamentals 3 (library fundamentals TS v3) | ||||
| Extensions for parallelism (parallelism TS) | ||||
| Extensions for parallelism 2 (parallelism TS v2) | ||||
| Extensions for concurrency (concurrency TS) | ||||
| Extensions for concurrency 2 (concurrency TS v2) | ||||
| Concepts (concepts TS) | ||||
| Ranges (ranges TS) | ||||
| Reflection (reflection TS) | ||||
| Mathematical special functions (special functions TR) | ||||
| Experimental Non-TS | ||||
| Pattern Matching | ||||
| Linear Algebra | ||||
| std::execution | ||||
| Contracts | ||||
| 2D Graphics |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
size_type copy
(
CharT
*
dest,
size_type count,
|
(ライブラリファンダメンタルTS) | |
部分文字列
[pos, pos + rcount)
を
dest
が指す文字列にコピーします。ここで
rcount
は
count
と
size
(
)
-
pos
の小さい方の値です。
目次 |
パラメータ
| dest | - | 宛先文字列へのポインタ |
| pos | - | 最初の文字の位置 |
| count | - | 要求された部分文字列の長さ |
戻り値
コピーされた文字数
例外
std::out_of_range
pos
が
pos
>
size
(
)
の場合。
計算量
rcount
に対して線形。
関連項目
|
部分文字列を返す
(公開メンバ関数) |