| 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 |
#if _LIBCPP_STD_VER >= 23 |
| 12 |
// [mdspan.extents], class template extents |
| 13 |
using std::extents; |
| 14 |
|
| 15 |
// [mdspan.extents.dextents], alias template dextents |
| 16 |
using std::dextents; |
| 17 |
|
| 18 |
// [mdspan.layout], layout mapping |
| 19 |
using std::layout_left; |
| 20 |
using std::layout_right; |
| 21 |
using std::layout_stride; |
| 22 |
|
| 23 |
// [mdspan.accessor.default], class template default_accessor |
| 24 |
using std::default_accessor; |
| 25 |
|
| 26 |
// [mdspan.mdspan], class template mdspan |
| 27 |
using std::mdspan; |
| 28 |
#endif // _LIBCPP_STD_VER >= 23 |
| 29 |
} // namespace std |