std::experimental::basic_string_view<CharT,Traits>:: to_string, std::experimental::basic_string_view<CharT,Traits>:: operator basic_string
From ja.cppreference.net
<
cpp
|
experimental
|
basic string view
|
template
<
class
Allocator
=
allocator
<
CharT
>>
basic_string
<
CharT, Traits, Allocator
>
|
(ライブラリファンダメンタルTS) | |
|
template
<
class
Allocator
>
explicit operator basic_string < CharT, Traits, Allocator > ( ) const ; |
(ライブラリファンダメンタルTS) | |
現在のビューの内容をコピーした
basic_string
を作成します。
目次 |
テンプレートパラメータ
| Allocator | - | Allocator 内部ストレージを割り当てるために使用される型 |
パラメータ
| a | - | 新しい文字列の割り当てに使用するアロケータインスタンス |
戻り値
A
basic_string
現在のビューの文字のコピーを含む。
計算量
Linear in
size()