...世界上最受推崇和设计精良的 C++ 库项目之一。 — Herb Sutter 和 Andrei Alexandrescu,《C++ 编码规范
...世界上最受推崇和设计精良的 C++ 库项目之一。
查询 allocator 属性的当前值。
allocator
constexpr Allocator query( execution::allocator_t< void > ) const;
请勿直接调用此函数。它旨在与 query 定制点一起使用。
query
例如:
boost::asio::system_executor ex; auto alloc = boost::asio::query(ex, boost::asio::execution::allocator);