xref: /aosp_15_r20/external/cronet/third_party/libc++/src/modules/std/span.cppm (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
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
10module;
11#include <span>
12
13export module std:span;
14export namespace std {
15  // constants
16  using std::dynamic_extent;
17
18  // [views.span], class template span
19  using std::span;
20
21  namespace ranges {
22    using std::ranges::enable_borrowed_range;
23    using std::ranges::enable_view;
24  } // namespace ranges
25
26  // [span.objectrep], views of object representation
27  using std::as_bytes;
28
29  using std::as_writable_bytes;
30} // namespace std
31