Implement writing narrow strings into a wide writer

This commit is contained in:
vitaut
2015-06-09 08:20:44 -07:00
parent 8949a2e941
commit ed2dfe5124
2 changed files with 11 additions and 2 deletions
+1
View File
@@ -325,6 +325,7 @@ TEST(WriterTest, WriteWideChar) {
TEST(WriterTest, WriteString) {
CHECK_WRITE_CHAR("abc");
CHECK_WRITE_WCHAR("abc");
// The following line shouldn't compile:
//MemoryWriter() << L"abc";
}