YSTest: ystdex::details::allocator_delete_base< _tAlloc > 模板类 参考

YSTest PreAlpha_b900_20201012 The YSLib Test Project

Protected 类型 | Protected 成员函数 | Protected 属性 | 所有成员列表
ystdex::details::allocator_delete_base< _tAlloc > 模板类 参考

`#include <allocator.hpp>`

类 ystdex::details::allocator_delete_base< _tAlloc > 继承关系图:
[图例]

## Protected 类型

using | ator_traits = allocator_traits< remove_cvref_t< _tAlloc > >
using | stored_ator_t = cond_t< is_lvalue_reference< _tAlloc >, lref< _tAlloc >, _tAlloc >

## Protected 成员函数

template<class _tParam , typename = exclude_self_t<allocator_delete_base, _tParam>>
| allocator_delete_base (_tParam &&a)
| allocator_delete_base (const allocator_delete_base &)=default
| allocator_delete_base (allocator_delete_base &&)=default
allocator_delete_base & | operator= (const allocator_delete_base &)=default
allocator_delete_base & | operator= (allocator_delete_base &&)=default
_tAlloc & | get_allocator () const

## Protected 属性

stored_ator_t | alloc

## 详细描述

### template<class _tAlloc>
class ystdex::details::allocator_delete_base< _tAlloc >

自从
  build 846

在文件 allocator.hpp 第 678 行定义.

## 成员类型定义说明

## ◆ ator_traits

template<class _tAlloc >

using ystdex::details::allocator_delete_base< _tAlloc >::ator_traits = allocator_traits<remove_cvref_t<_tAlloc> >

protected

在文件 allocator.hpp 第 681 行定义.

## ◆ stored_ator_t

template<class _tAlloc >

using ystdex::details::allocator_delete_base< _tAlloc >::stored_ator_t = cond_t<is_lvalue_reference<_tAlloc>, lref<_tAlloc>, _tAlloc>

protected

在文件 allocator.hpp 第 682 行定义.

## 构造及析构函数说明

## ◆ allocator_delete_base() [1/3]

template<class _tAlloc >
template<class _tParam , typename = exclude_self_t<allocator_delete_base, _tParam>>

ystdex::details::allocator_delete_base< _tAlloc >::allocator_delete_base | ( | _tParam && | a | ) |

inlineprotected

在文件 allocator.hpp 第 690 行定义.

## ◆ allocator_delete_base() [2/3]

template<class _tAlloc >

ystdex::details::allocator_delete_base< _tAlloc >::allocator_delete_base | ( | const allocator_delete_base< _tAlloc > & |  | ) |

protecteddefault

## ◆ allocator_delete_base() [3/3]

template<class _tAlloc >

ystdex::details::allocator_delete_base< _tAlloc >::allocator_delete_base | ( | allocator_delete_base< _tAlloc > && |  | ) |

protecteddefault

## 成员函数说明

## ◆ get_allocator()

template<class _tAlloc >

_tAlloc& ystdex::details::allocator_delete_base< _tAlloc >::get_allocator | ( |  | ) | const

inlineprotected

自从
  build 887

在文件 allocator.hpp 第 703 行定义.

引用了 alloc.

## ◆ operator=() [1/2]

template<class _tAlloc >

allocator_delete_base& ystdex::details::allocator_delete_base< _tAlloc >::operator= | ( | allocator_delete_base< _tAlloc > && |  | ) |

protecteddefault

## ◆ operator=() [2/2]

template<class _tAlloc >

allocator_delete_base& ystdex::details::allocator_delete_base< _tAlloc >::operator= | ( | const allocator_delete_base< _tAlloc > & |  | ) |

protecteddefault

## 类成员变量说明

## ◆ alloc

template<class _tAlloc >

stored_ator_t ystdex::details::allocator_delete_base< _tAlloc >::alloc

mutableprotected

自从
  build 843

在文件 allocator.hpp 第 686 行定义.

该类的文档由以下文件生成:

- allocator.hpp