std::scoped_allocator_adaptor::inner_allocator
inner_allocator_type& inner_allocator() noexcept;
|
(1) |
(C++11 起) |
const inner_allocator_type& inner_allocator() const noexcept;
|
(2) |
(C++11 起) |
|
|
|
获得到用于声明此 scoped_allocator_adaptor
的内层分配器的引用。
若 sizeof...(InnerAllocs) == 0 ,即未声明内层分配器,则返回 *this 。否则返回到 std::scoped_allocator_adaptor<InnerAllocs...> 的一个引用,即由 *this 的所有内层分配器组成的有作用域分配器,其首个内层分配器变为外层分配器。
参数
(无)
返回值
到内层分配器的引用,它自身是 std::scoped_allocator_adaptor
。
参阅
|
获得一个 outer_allocator 引用 (公开成员函数)
|
版本历史
(当前 | 先前) 2017年6月4日 (日) 20:28 Fruderica(讨论 | 贡献) 小 . . (1,019字节) (+3) . . (撤销)
(当前 | 先前) 2017年6月4日 (日) 20:28 Fruderica(讨论 | 贡献) . . (1,016字节) (-974) . . (撤销)
(当前 | 先前) 2013年7月2日 (二) 09:05 P12bot(讨论 | 贡献) 小 . . (1,990字节) (-95) . . (撤销)
(当前 | 先前) 2012年11月2日 (五) 15:25 P12bot(讨论 | 贡献) 小 . . (2,085字节) (+473) . . (撤销)
(当前 | 先前) 2012年10月27日 (六) 03:40 P12(讨论 | 贡献) 小 . . (1,612字节) (0) . . (撤销)
(当前 | 先前) 2012年10月26日 (五) 06:00 TranslationBot(讨论 | 贡献) . . (1,612字节) (-41) . . (撤销)
(当前 | 先前) 2012年10月25日 (四) 14:54 P12(讨论 | 贡献) 小 . . (1,653字节) (0) . . (撤销)
(当前 | 先前) 2012年10月25日 (四) 12:00 TranslationBot(讨论 | 贡献) . . (1,653字节) (+1,653) . .