| 1 | /* |
| 2 | * Copyright (c) 2023 Philippe Proulx <pproulx@efficios.com> |
| 3 | * |
| 4 | * SPDX-License-Identifier: MIT |
| 5 | */ |
| 6 | |
| 7 | #ifndef BABELTRACE_CPP_COMMON_BT2S_OPTIONAL_HPP |
| 8 | #define BABELTRACE_CPP_COMMON_BT2S_OPTIONAL_HPP |
| 9 | |
| 10 | #include "cpp-common/vendor/optional-lite/optional.hpp" |
| 11 | |
| 12 | namespace bt2s { |
| 13 | |
| 14 | using nonstd::optional; |
| 15 | using nonstd::nullopt_t; |
| 16 | using nonstd::bad_optional_access; |
| 17 | using nonstd::nullopt; |
| 18 | using nonstd::make_optional; |
| 19 | using nonstd::in_place_t; |
| 20 | using nonstd::in_place; |
| 21 | using nonstd::in_place_type; |
| 22 | using nonstd::in_place_index; |
| 23 | |
| 24 | } /* namespace bt2s */ |
| 25 | |
| 26 | #endif /* BABELTRACE_CPP_COMMON_BT2S_OPTIONAL_HPP */ |