std::experimental::basic_string_view<CharT,Traits>::to_string, std::experimental::basic_string_view<CharT,Traits>::operator basic_string
From cppreference.com
< cpp | experimental | basic string view
| template<class Allocator = allocator<CharT>> basic_string<CharT, Traits, Allocator> |
(Library Fundamentals TS) | |
| template<class Allocator> explicit operator basic_string<CharT, Traits, Allocator>() const; |
(Library Fundamentals TS) | |
現在のビューの内容のコピーを持つbasic_stringを作成します。
目次 |
[編集] テンプレートパラメータ
| アロケータ | - | Allocator 内部ストレージを割り当てるために使用される型 |
[編集] パラメータ
| a | - | 新しい文字列を割り当てるために使用するアロケータインスタンス |
[編集] 戻り値
現在のビューの文字のコピーを含むbasic_string。
[編集] 複雑性
size()に対して線形