• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
10export 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#  if _LIBCPP_STD_VER >= 26
19  // [mdspan.extents.dims]
20  using std::dims;
21#  endif // _LIBCPP_STD_VER >= 26
22
23  // [mdspan.layout], layout mapping
24  using std::layout_left;
25  using std::layout_right;
26  using std::layout_stride;
27
28  // [mdspan.accessor.default], class template default_accessor
29  using std::default_accessor;
30
31  // [mdspan.mdspan], class template mdspan
32  using std::mdspan;
33#endif // _LIBCPP_STD_VER >= 23
34} // namespace std
35