Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

serial_port::serial_port

Construct a serial_port without opening it.

explicit serial_port(
    boost::asio::io_context & io_context);
  » more...

Construct and open a serial_port.

explicit serial_port(
    boost::asio::io_context & io_context,
    const char * device);
  » more...

explicit serial_port(
    boost::asio::io_context & io_context,
    const std::string & device);
  » more...

Construct a serial_port on an existing native serial port.

serial_port(
    boost::asio::io_context & io_context,
    const native_handle_type & native_serial_port);
  » more...

Move-construct a serial_port from another.

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

PrevUpHomeNext