Boost C++ Libraries 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.
serial_port::lowest_layer (1 of 2 overloads)

Get a reference to the lowest layer.

lowest_layer_type & lowest_layer();

This function returns a reference to the lowest layer in a stack of layers. Since a serial_port cannot contain any further layers, it simply returns a reference to itself.

Return Value

A reference to the lowest layer in the stack of layers. Ownership is not transferred to the caller.