mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-26 04:00:05 +00:00
Export printf-related contexts from printf.h
This commit is contained in:
parent
2c25df089f
commit
d3c523e0d2
@ -14,13 +14,9 @@
|
||||
|
||||
FMT_BEGIN_NAMESPACE
|
||||
|
||||
FMT_MODULE_EXPORT_BEGIN
|
||||
|
||||
template <typename Char> class basic_printf_parse_context;
|
||||
template <typename OutputIt, typename Char> class basic_printf_context;
|
||||
|
||||
FMT_MODULE_EXPORT_END
|
||||
|
||||
namespace detail {
|
||||
|
||||
template <class Char> class formatbuf : public std::basic_streambuf<Char> {
|
||||
|
@ -195,13 +195,16 @@ FMT_DEPRECATED void printf(detail::buffer<Char>& buf,
|
||||
}
|
||||
using detail::vprintf;
|
||||
|
||||
// Exported from ostream.h.
|
||||
FMT_MODULE_EXPORT_BEGIN
|
||||
|
||||
template <typename Char>
|
||||
class basic_printf_parse_context : public basic_format_parse_context<Char> {
|
||||
using basic_format_parse_context<Char>::basic_format_parse_context;
|
||||
};
|
||||
template <typename OutputIt, typename Char> class basic_printf_context;
|
||||
|
||||
FMT_MODULE_EXPORT_END
|
||||
|
||||
/**
|
||||
\rst
|
||||
The ``printf`` argument formatter.
|
||||
|
Loading…
Reference in New Issue
Block a user