asio C++ library

PrevUpHomeNext

io_context::basic_executor_type::operator==

Compare two executors for equality.

friend bool operator==(
    const basic_executor_type & a,
    const basic_executor_type & b);

Two executors are equal if they refer to the same underlying io_context.

Requirements

Header: asio/io_context.hpp

Convenience header: asio.hpp


PrevUpHomeNext