mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-29 21:32:49 +00:00
Improve doc.
This commit is contained in:
parent
46e26191f4
commit
7e6dd376b1
4
format.h
4
format.h
@ -1368,11 +1368,11 @@ inline const wchar_t *c_str(internal::FormatterProxy<wchar_t> p) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
A sink that ignores output.
|
A sink that discards all output written to it.
|
||||||
*/
|
*/
|
||||||
class NullSink {
|
class NullSink {
|
||||||
public:
|
public:
|
||||||
/** Ignores the output. */
|
/** Discards the output. */
|
||||||
template <typename Char>
|
template <typename Char>
|
||||||
void operator()(const BasicWriter<Char> &) const {}
|
void operator()(const BasicWriter<Char> &) const {}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user