mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-26 12:10:06 +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_BEGIN_NAMESPACE
|
||||||
|
|
||||||
FMT_MODULE_EXPORT_BEGIN
|
|
||||||
|
|
||||||
template <typename Char> class basic_printf_parse_context;
|
template <typename Char> class basic_printf_parse_context;
|
||||||
template <typename OutputIt, typename Char> class basic_printf_context;
|
template <typename OutputIt, typename Char> class basic_printf_context;
|
||||||
|
|
||||||
FMT_MODULE_EXPORT_END
|
|
||||||
|
|
||||||
namespace detail {
|
namespace detail {
|
||||||
|
|
||||||
template <class Char> class formatbuf : public std::basic_streambuf<Char> {
|
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;
|
using detail::vprintf;
|
||||||
|
|
||||||
// Exported from ostream.h.
|
FMT_MODULE_EXPORT_BEGIN
|
||||||
|
|
||||||
template <typename Char>
|
template <typename Char>
|
||||||
class basic_printf_parse_context : public basic_format_parse_context<Char> {
|
class basic_printf_parse_context : public basic_format_parse_context<Char> {
|
||||||
using basic_format_parse_context<Char>::basic_format_parse_context;
|
using basic_format_parse_context<Char>::basic_format_parse_context;
|
||||||
};
|
};
|
||||||
template <typename OutputIt, typename Char> class basic_printf_context;
|
template <typename OutputIt, typename Char> class basic_printf_context;
|
||||||
|
|
||||||
|
FMT_MODULE_EXPORT_END
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\rst
|
\rst
|
||||||
The ``printf`` argument formatter.
|
The ``printf`` argument formatter.
|
||||||
|
Loading…
Reference in New Issue
Block a user