Boost C++ 库

...世界上最受推崇和设计精良的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu,《C++ 编码规范

buffer_registration::buffer_registration - Boost C++ 函数库
PrevUpHomeNext

将缓冲区注册到执行器的执行上下文。

template<
    typename Executor>
buffer_registration(
    const Executor & ex,
    const MutableBufferSequence & buffer_sequence,
    const allocator_type & alloc = allocator_type(),
    constraint_t< is_executor< Executor >::value||execution::is_executor< Executor >::value >  = 0);
  » more...

将缓冲区注册到执行上下文。

template<
    typename ExecutionContext>
buffer_registration(
    ExecutionContext & ctx,
    const MutableBufferSequence & buffer_sequence,
    const allocator_type & alloc = allocator_type(),
    constraint_t< is_convertible< ExecutionContext &, execution_context & >::value >  = 0);
  » more...

移动构造函数。

buffer_registration(
    buffer_registration && other);
  » more...

PrevUpHomeNext