scoped_allocator_adaptor::rebind 结构

定义类型 Outer::rebind<Other>::other 作为 **scoped_allocator_adaptor<Other, Inner...>**的同义词。

template<class Other>
   struct rebind{
      typedef Other_traits::rebind<Other> Other_alloc;
      typedef scoped_allocator_adaptor<Other_alloc, Inner...> other;

   };

要求

标头: <scoped_allocator>

命名空间: std

请参见

参考

scoped_allocator_adaptor 类