7 #if !defined(MQTT_OPTIONAL_HPP)
8 #define MQTT_OPTIONAL_HPP
10 #if defined(MQTT_STD_OPTIONAL)
16 #include <boost/optional.hpp>
24 #if defined(MQTT_STD_OPTIONAL)
28 using in_place_t = std::in_place_t;
29 static constexpr
auto in_place_init = in_place_t{};
30 static constexpr
auto nullopt = std::nullopt;
34 using boost::optional;
36 using boost::in_place_init;
37 static const auto nullopt = boost::none;
boost::none_t nullopt_t
Definition: optional.hpp:35