| 1 |
// -*- C++ -*- |
| 2 |
//===----------------------------------------------------------------------===// |
| 3 |
// |
| 4 |
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 5 |
// See https://llvm.org/LICENSE.txt for license information. |
| 6 |
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 7 |
// |
| 8 |
//===----------------------------------------------------------------------===// |
| 9 |
|
| 10 |
export namespace std { |
| 11 |
// [optional.optional], class template optional |
| 12 |
using std::optional; |
| 13 |
|
| 14 |
// [optional.nullopt], no-value state indicator |
| 15 |
using std::nullopt; |
| 16 |
using std::nullopt_t; |
| 17 |
|
| 18 |
// [optional.bad.access], class bad_optional_access |
| 19 |
using std::bad_optional_access; |
| 20 |
|
| 21 |
// [optional.relops], relational operators |
| 22 |
using std::operator==; |
| 23 |
using std::operator!=; |
| 24 |
using std::operator<; |
| 25 |
using std::operator>; |
| 26 |
using std::operator<=; |
| 27 |
using std::operator>=; |
| 28 |
using std::operator<=>; |
| 29 |
|
| 30 |
// [optional.specalg], specialized algorithms |
| 31 |
using std::swap; |
| 32 |
|
| 33 |
using std::make_optional; |
| 34 |
|
| 35 |
// [optional.hash], hash support |
| 36 |
using std::hash; |
| 37 |
} // namespace std |