[libcxx-commits] [PATCH] D146398: [libcxx] Fix using std::wcout/wcin on Windows with streams configured in wide mode

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat May 13 14:39:46 PDT 2023


mstorsjo updated this revision to Diff 521949.
mstorsjo added a comment.

Applied most suggestions; rewrote the paragraph about imbuing locales. Added a dummy parameter to disambiguate overloads for `__do_ungetc`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146398/new/

https://reviews.llvm.org/D146398

Files:
  libcxx/docs/UsingLibcxx.rst
  libcxx/src/std_stream.h
  libcxx/test/std/input.output/iostream.objects/wide.stream.objects/check-stderr.sh
  libcxx/test/std/input.output/iostream.objects/wide.stream.objects/check-stdout.sh
  libcxx/test/std/input.output/iostream.objects/wide.stream.objects/send-stdin.sh
  libcxx/test/std/input.output/iostream.objects/wide.stream.objects/test.dat
  libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wcerr-imbue.sh.cpp
  libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wcerr-wide-mode.sh.cpp
  libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wcin-imbue.sh.cpp
  libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wcin-wide-mode.sh.cpp
  libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wcout-imbue.sh.cpp
  libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wcout-wide-mode.sh.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146398.521949.patch
Type: text/x-patch
Size: 20619 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230513/fcbff946/attachment-0001.bin>


More information about the libcxx-commits mailing list