Convenience aliases for containers using polymorphic allocators (library fundamentals TS)
다음의 편의성을 위한 별칭 및 별칭 템플릿은 다형성 할당자를 사용하는 컨테이너를 위해
std::experimental::pmr
네임스페이스에 정의되어 있습니다.
목차 |
문자열
| 별칭/별칭 템플릿 | 별칭 대상 |
|
헤더 파일에 정의됨
<experimental/string>
|
|
|
template
<
class
CharT,
class
Traits
=
std::
char_traits
<
CharT
>>
|
std::
basic_string
<
CharT, Traits,
polymorphic_allocator < CharT >> ; |
| using string = | pmr :: basic_string < char > ; |
| using wstring = | pmr :: basic_string < wchar_t > ; |
| using u16string = | pmr :: basic_string < char16_t > ; |
| using u32string = | pmr :: basic_string < char32_t > ; |
시퀀스 컨테이너
| 별칭 템플릿 | 별칭 대상 |
|
헤더 파일에 정의됨
<experimental/vector>
|
|
| template < class T > using vector = | std:: vector < T, polymorphic_allocator < T >> ; |
|
헤더 파일에 정의됨
<experimental/deque>
|
|
| template < class T > using deque = | std:: deque < T, polymorphic_allocator < T >> ; |
|
헤더 파일에 정의됨
<experimental/forward_list>
|
|
| template < class T > using forward_list = | std:: forward_list < T, polymorphic_allocator < T >> ; |
|
헤더 파일에 정의됨
<experimental/list>
|
|
| template < class T > using list = | std:: list < T, polymorphic_allocator < T >> ; |
연관 컨테이너
| 별칭 템플릿 | 별칭 대상 |
|
헤더 파일 정의
<experimental/map>
|
|
|
template
<
class
Key,
class
T,
class
Compare
=
std::
less
<
Key
>>
|
std::
map
<
Key, T, Compare,
polymorphic_allocator < std:: pair < const Key, T >>> ; |
|
template
<
class
Key,
class
T,
class
Compare
=
std::
less
<
Key
>>
|
std::
multimap
<
Key, T, Compare,
polymorphic_allocator < std:: pair < const Key, T >>> ; |
|
헤더 파일 정의
<experimental/set>
|
|
|
template
<
class
Key,
class
Compare
=
std::
less
<
Key
>>
|
std::
set
<
Key, Compare,
polymorphic_allocator < Key >> ; |
|
template
<
class
Key,
class
Compare
=
std::
less
<
Key
>>
|
std::
multiset
<
Key, Compare,
polymorphic_allocator < Key >> ; |
비정렬 연관 컨테이너
| 별칭 템플릿 | 별칭 대상 |
|
헤더에 정의됨
<experimental/unordered_map>
|
|
|
template
<
class
Key,
class
T,
class
Hash
=
std::
hash
<
Key
>
,
|
std::
unordered_map
<
Key, T, Hash, Pred,
polymorphic_allocator < std:: pair < const Key, T >>> ; |
|
template
<
class
Key,
class
T,
class
Hash
=
std::
hash
<
Key
>
,
|
std::
unordered_multimap
<
Key, T, Hash, Pred,
polymorphic_allocator < std:: pair < const Key, T >>> ; |
|
헤더에 정의됨
<experimental/unordered_set>
|
|
|
template
<
class
Key,
class
Hash
=
std::
hash
<
Key
>
,
|
std::
unordered_set
<
Key, Hash, Pred,
polymorphic_allocator < Key >> ; |
|
template
<
class
Key,
class
Hash
=
std::
hash
<
Key
>
,
|
std::
unordered_multiset
<
Key, Hash, Pred,
polymorphic_allocator < Key >> ; |
match_results
| 별칭/별칭 템플릿 | 별칭 대상 |
|
헤더 파일 정의
<experimental/regex>
|
|
|
template
<
class
BidirIt
>
using match_results = |
std::
match_results
<
BidirIt,
polymorphic_allocator < std:: sub_match < BidirIt >>> ; |
| using cmatch = | pmr :: match_results < const char * > ; |
| using wcmatch = | pmr :: match_results < const wchar_t * > ; |
| using smatch = | pmr :: match_results < pmr :: string :: const_iterator > ; |
| using wsmatch = | pmr :: match_results < pmr :: wstring :: const_iterator > ; |