1 //===----------------------------------------------------------------------===// 2 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 3 // See https://llvm.org/LICENSE.txt for license information. 4 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 5 // 6 //===----------------------------------------------------------------------===// 7 8 // UNSUPPORTED: c++03, c++11, c++14, c++17 9 10 // <format> 11 12 // Namespace std typedefs: 13 // using format_args = basic_format_args<format_context>; 14 // using wformat_args = basic_format_args<wformat_context>; 15 16 #include <format> 17 #include <vector> 18 #include <type_traits> 19 20 #include "test_macros.h" 21 22 static_assert(std::is_same_v<std::format_args, 23 std::basic_format_args<std::format_context>>); 24 #ifndef TEST_HAS_NO_WIDE_CHARACTERS 25 static_assert(std::is_same_v<std::wformat_args, 26 std::basic_format_args<std::wformat_context>>); 27 #endif 28