mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 09:28:21 +00:00
Format.
This commit is contained in:
parent
b22493ce7e
commit
bc2cab2efe
2
format.h
2
format.h
@ -1219,7 +1219,9 @@ class BasicFormatter {
|
|||||||
friend class internal::FormatterProxy<Char>;
|
friend class internal::FormatterProxy<Char>;
|
||||||
|
|
||||||
// Forbid copying from a temporary as in the following example:
|
// Forbid copying from a temporary as in the following example:
|
||||||
|
//
|
||||||
// fmt::Formatter<> f = Format("test"); // not allowed
|
// fmt::Formatter<> f = Format("test"); // not allowed
|
||||||
|
//
|
||||||
// This is done because BasicFormatter objects should normally exist
|
// This is done because BasicFormatter objects should normally exist
|
||||||
// only as temporaries returned by one of the formatting functions.
|
// only as temporaries returned by one of the formatting functions.
|
||||||
// Do not implement.
|
// Do not implement.
|
||||||
|
Loading…
Reference in New Issue
Block a user