async_mqtt 5.0.0
Loading...
Searching...
No Matches
optional.hpp
1// Copyright Takatoshi Kondo 2022
2//
3// Distributed under the Boost Software License, Version 1.0.
4// (See accompanying file LICENSE_1_0.txt or copy at
5// http://www.boost.org/LICENSE_1_0.txt)
6
7#if !defined(ASYNC_MQTT_UTIL_OPTIONAL_HPP)
8#define ASYNC_MQTT_UTIL_OPTIONAL_HPP
9
10#include <optional>
11
12namespace async_mqtt {
13
14using std::optional;
15using std::nullopt_t;
16using in_place_t = std::in_place_t;
17static constexpr auto nullopt = std::nullopt;
18
19} // namespace async_mqtt
20
21#endif // ASYNC_MQTT_UTIL_OPTIONAL_HPP