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

boost::mqtt5::subscribe_options::retain_handling
PrevUpHomeNext

Option determining if retained messages are sent when the Subscription is established.

Synopsis
boost::mqtt5::retain_handling_e retain_handling = boost::mqtt5::retain_handling_e::new_subscription_only;

PrevUpHomeNext