std::scoped_allocator_adaptor::outer_allocator
STD:范围[医]分配器[医]适配器::外部[医]分配器
Defined in header | | |
---|---|---|
outer_allocator_type& outer_allocator( | (1) | (since C++11) |
const outer_allocator_type& outer_allocator() const; | (2) | (since C++11) |
获取对用于声明该类的外部分配器的引用。
1%29static_cast<OuterAlloc&>(*this)...
2%29static_cast<const OuterAlloc&>(*this)...
参数
%280%29
返回值
引用OuterAlloc
...
例外
1-2%29
noexcept
规格:
noexcept
另见
inner_allocator | obtains an inner_allocator reference (public member function) |
---|
© cppreference.com
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
http://en.cppreference.com/w/cpp/Memory/作用域[医]分配器[医]适配器/外部[医]分配器