2 //===----------------------------------------------------------------------===//
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
8 //===----------------------------------------------------------------------===//
10 export namespace std {
11 // [format.context], class template basic_format_context
12 using std::basic_format_context;
13 using std::format_context;
14 #ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
15 using std::wformat_context;
18 // [format.args], class template basic_format_args
19 using std::basic_format_args;
20 using std::format_args;
21 #ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
22 using std::wformat_args;
25 // [format.fmt.string], class template basic_format_string
26 using std::basic_format_string;
27 using std::format_string;
28 #ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
29 using std::wformat_string;
32 // [format.functions], formatting functions
36 using std::vformat_to;
38 using std::format_to_n;
39 using std::format_to_n_result;
40 using std::formatted_size;
42 // [format.formatter], formatter
45 #if _LIBCPP_STD_VER >= 23
46 // [format.formattable], concept formattable
47 using std::formattable;
50 // [format.parse.ctx], class template basic_format_parse_context
51 using std::basic_format_parse_context;
52 using std::format_parse_context;
53 #ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
54 using std::wformat_parse_context;
57 #if _LIBCPP_STD_VER >= 23
58 // [format.range], formatting of ranges
59 // [format.range.fmtkind], variable template format_kind
60 using std::format_kind;
61 using std::range_format;
63 // [format.range.formatter], class template range_formatter
64 using std::range_formatter;
65 #endif // _LIBCPP_STD_VER >= 23
67 // [format.arg], class template basic_format_arg
68 using std::basic_format_arg;
69 using std::visit_format_arg;
71 // [format.arg.store], class template format-arg-store
72 using std::make_format_args;
73 #ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
74 using std::make_wformat_args;
77 // [format.error], class format_error
78 using std::format_error;