forked from fmtlib/fmt
Improve doc.
This commit is contained in:
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 {}
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user