xref: /aosp_15_r20/external/cronet/third_party/libc++/src/modules/std/charconv.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 <charconv>
12
13export module std:charconv;
14export namespace std {
15
16  // floating-point format for primitive numerical conversion
17  using std::chars_format;
18
19  // chars_format is a bitmask type.
20  // [bitmask.types] specified operators
21  using std::operator&;
22  using std::operator&=;
23  using std::operator^;
24  using std::operator^=;
25  using std::operator|;
26  using std::operator|=;
27  using std::operator~;
28
29  // [charconv.to.chars], primitive numerical output conversion
30  using std::to_chars_result;
31
32  using std::to_chars;
33
34  // [charconv.from.chars], primitive numerical input conversion
35  using std::from_chars_result;
36
37  using std::from_chars;
38} // namespace std
39