Boost C++ 库

...世界上最受尊敬和精心设计的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu, C++ 编码规范

PrevUpHomeNext

bind_allocator (2 of 2 overloads)

T 类型的对象与 Allocator 类型的分配器相关联。

template<
    typename Allocator,
    typename T>
allocator_binder< decay_t< T >, Allocator > bind_allocator(
    const Allocator & s,
    T && t);

PrevUpHomeNext