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,
|
(라이브러리 fundamentals TS) | |
부분 문자열
[pos, pos + rcount)
를
dest
가 가리키는 문자열로 복사합니다. 여기서
rcount
는
count
와
size
(
)
-
pos
중 더 작은 값입니다.
목차 |
매개변수
| dest | - | 대상 문자열에 대한 포인터 |
| pos | - | 첫 번째 문자의 위치 |
| count | - | 요청된 부분 문자열 길이 |
반환값
복사된 문자 수
예외
std::out_of_range 만약 pos > size ( ) 인 경우.
복잡도
rcount
에 대해 선형적입니다.
참고 항목
|
부분 문자열을 반환합니다
(public member function) |