format_test -> format-test. Add support for wide char to BasicWriter.
This commit is contained in:
@@ -700,11 +700,19 @@ class BasicWriter {
|
||||
return *this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes a character to the stream.
|
||||
*/
|
||||
BasicWriter &operator<<(char value) {
|
||||
*GrowBuffer(1) = value;
|
||||
return *this;
|
||||
}
|
||||
|
||||
BasicWriter &operator<<(wchar_t value) {
|
||||
*GrowBuffer(1) = internal::CharTraits<Char>::ConvertWChar(value);
|
||||
return *this;
|
||||
}
|
||||
|
||||
/**
|
||||
Writes *value* to the stream.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user