cpp-common/bt2s: use a `using` declaration
[babeltrace.git] / src / cpp-common / bt2s / optional.hpp
CommitLineData
c022776a
SM
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
12namespace bt2s {
13
fa447211
PP
14using nonstd::optional;
15using nonstd::nullopt_t;
16using nonstd::bad_optional_access;
17using nonstd::nullopt;
18using nonstd::make_optional;
19using nonstd::in_place_t;
20using nonstd::in_place;
21using nonstd::in_place_type;
22using nonstd::in_place_index;
c022776a
SM
23
24} /* namespace bt2s */
25
26#endif /* BABELTRACE_CPP_COMMON_BT2S_OPTIONAL_HPP */
This page took 0.024521 seconds and 4 git commands to generate.