xref: /freebsd/contrib/llvm-project/libcxx/include/__fwd/format.h (revision 0fca6ea1d4eea4c934cfff25ac9ee8ad6fe95583)
1*0fca6ea1SDimitry Andric // -*- C++ -*-
2*0fca6ea1SDimitry Andric //===----------------------------------------------------------------------===//
3*0fca6ea1SDimitry Andric //
4*0fca6ea1SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5*0fca6ea1SDimitry Andric // See https://llvm.org/LICENSE.txt for license information.
6*0fca6ea1SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7*0fca6ea1SDimitry Andric //
8*0fca6ea1SDimitry Andric //===----------------------------------------------------------------------===//
9*0fca6ea1SDimitry Andric 
10*0fca6ea1SDimitry Andric #ifndef _LIBCPP___FWD_FORMAT_H
11*0fca6ea1SDimitry Andric #define _LIBCPP___FWD_FORMAT_H
12*0fca6ea1SDimitry Andric 
13*0fca6ea1SDimitry Andric #include <__config>
14*0fca6ea1SDimitry Andric #include <__iterator/concepts.h>
15*0fca6ea1SDimitry Andric 
16*0fca6ea1SDimitry Andric #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
17*0fca6ea1SDimitry Andric #  pragma GCC system_header
18*0fca6ea1SDimitry Andric #endif
19*0fca6ea1SDimitry Andric 
20*0fca6ea1SDimitry Andric _LIBCPP_BEGIN_NAMESPACE_STD
21*0fca6ea1SDimitry Andric 
22*0fca6ea1SDimitry Andric #if _LIBCPP_STD_VER >= 20
23*0fca6ea1SDimitry Andric 
24*0fca6ea1SDimitry Andric template <class _Context>
25*0fca6ea1SDimitry Andric class _LIBCPP_TEMPLATE_VIS basic_format_arg;
26*0fca6ea1SDimitry Andric 
27*0fca6ea1SDimitry Andric template <class _OutIt, class _CharT>
28*0fca6ea1SDimitry Andric   requires output_iterator<_OutIt, const _CharT&>
29*0fca6ea1SDimitry Andric class _LIBCPP_TEMPLATE_VIS basic_format_context;
30*0fca6ea1SDimitry Andric 
31*0fca6ea1SDimitry Andric template <class _Tp, class _CharT = char>
32*0fca6ea1SDimitry Andric struct _LIBCPP_TEMPLATE_VIS formatter;
33*0fca6ea1SDimitry Andric 
34*0fca6ea1SDimitry Andric #endif //_LIBCPP_STD_VER >= 20
35*0fca6ea1SDimitry Andric 
36*0fca6ea1SDimitry Andric _LIBCPP_END_NAMESPACE_STD
37*0fca6ea1SDimitry Andric 
38*0fca6ea1SDimitry Andric #endif // _LIBCPP___FWD_FORMAT_H
39