std::experimental::basic_string_view<CharT,Traits>:: to_string, std::experimental::basic_string_view<CharT,Traits>:: operator basic_string
From cppreference.net
<
cpp
|
experimental
|
basic string view
C++
Experimental
| 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 |
std::experimental::basic_string_view
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
template
<
class
Allocator
=
allocator
<
CharT
>>
basic_string
<
CharT, Traits, Allocator
>
|
(라이브러리 fundamentals TS) | |
|
template
<
class
Allocator
>
explicit operator basic_string < CharT, Traits, Allocator > ( ) const ; |
(라이브러리 fundamentals TS) | |
현재 뷰의 내용을 복사하여
basic_string
을 생성합니다.
목차 |
템플릿 매개변수
| Allocator | - | Allocator 내부 저장소를 할당하는 데 사용되는 할당자 유형 |
매개변수
| a | - | 새로운 문자열 할당에 사용할 Allocator 인스턴스 |
반환값
현재 뷰의 문자들을 복사한
basic_string
을 포함합니다.
복잡도
크기에 대해 선형적으로
size()