Boost.Corosio

    • Introduction
    • Quick Start
    • Tutorials
      • Echo Server
      • HTTP Client
      • DNS Lookup
      • TLS Context Configuration
    • Guide
      • TCP/IP Networking
      • Concurrent Programming
      • I/O Context
      • Sockets
      • Acceptors
      • Endpoints
      • Composed Operations
      • Timers
      • Signal Handling
      • Name Resolution
      • TCP Server
      • TLS Encryption
      • Error Handling
      • Buffer Sequences
    • Concepts
      • Design Rationale
      • Affine Awaitables
    • Testing
      • Mock Sockets
    • Reference
    • Glossary
  • boost::corosio::timer::timer
arrow_upward

boost::corosio::timer::timer

Constructors

Synopses

Declared in <boost/corosio/timer.hpp>

Copy constructor

timer(timer const& other) = delete;

» more...

Move constructor.

timer(timer&& other) noexcept;

» more...

Construct a timer from an execution context.

explicit
timer(capy::execution_context& ctx);

» more...

Parameters

Name Description

other

The timer to move from.

ctx

The execution context that will own this timer.

Created with MrDocs