Debian Codegraph @

libcxx/modules/std/mdspan.inc

raw
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 # 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 # if _LIBCPP_STD_VER >= 26
32 // [mdspan.accessor.aligned], class template aligned_accessor
33 using std::aligned_accessor;
34 # endif // _LIBCPP_STD_VER >= 26
35
36 // [mdspan.mdspan], class template mdspan
37 using std::mdspan;
38 #endif // _LIBCPP_STD_VER >= 23
39 } // namespace std