xref: /aosp_15_r20/external/pigweed/third_party/fuchsia/repo/sdk/lib/stdcompat/include/lib/stdcompat/optional.h (revision 61c4878ac05f98d0ceed94b57d316916de578985)
1 // Copyright 2018 The Fuchsia Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef LIB_STDCOMPAT_OPTIONAL_H_
6 #define LIB_STDCOMPAT_OPTIONAL_H_
7 
8 #include <optional>
9 
10 #include "utility.h"
11 #include "version.h"
12 
13 namespace cpp17 {
14 
15 using std::bad_optional_access;
16 using std::make_optional;
17 using std::nullopt;
18 using std::nullopt_t;
19 using std::optional;
20 
21 }  // namespace cpp17
22 
23 #endif  // LIB_STDCOMPAT_OPTIONAL_H_
24