std::basic_string<CharT,Traits,Allocator>:: get_allocator
From cppreference.net
<
cpp
|
string
|
basic string
C++
Strings library
| Classes | ||||
|
(C++17)
|
||||
std::basic_string
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
allocator_type get_allocator
(
)
const
;
|
(C++20以降 noexcept)
(C++20以降 constexpr) |
|
文字列に関連付けられたアロケータを返します。
目次 |
パラメータ
(なし)
戻り値
関連付けられたアロケータ。
計算量
定数。
関連項目
|
デフォルトアロケータ
(クラステンプレート) |
|
|
(C++11)
|
アロケータ型に関する情報を提供する
(クラステンプレート) |
|
(C++11)
|
指定された型がuses-allocator構築をサポートするかどうかをチェックする
(クラステンプレート) |