首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

std::scoped_allocator_adaptor::outer_allocator

Defined in header <scoped_allocator>

?

?

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)

代码语言:txt
复制
 ? cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com