40 lines · plain
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-exception7//8//===----------------------------------------------------------------------===//9 10export namespace std {11#if _LIBCPP_STD_VER >= 2312 // [mdspan.extents], class template extents13 using std::extents;14 15 // [mdspan.extents.dextents], alias template dextents16 using std::dextents;17 18# if _LIBCPP_STD_VER >= 2619 // [mdspan.extents.dims]20 using std::dims;21# endif // _LIBCPP_STD_VER >= 2622 23 // [mdspan.layout], layout mapping24 using std::layout_left;25 using std::layout_right;26 using std::layout_stride;27 28 // [mdspan.accessor.default], class template default_accessor29 using std::default_accessor;30 31# if _LIBCPP_STD_VER >= 2632 // [mdspan.accessor.aligned], class template aligned_accessor33 using std::aligned_accessor;34# endif // _LIBCPP_STD_VER >= 2635 36 // [mdspan.mdspan], class template mdspan37 using std::mdspan;38#endif // _LIBCPP_STD_VER >= 2339} // namespace std40