[PATCH] D70686: Implement LWG#1203 for raw_ostream
Tim Shen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 27 14:27:22 PST 2019
timshen accepted this revision.
timshen added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/include/llvm/Support/raw_ostream.h:361
+template <typename OStream, typename T>
+typename std::enable_if<!std::is_lvalue_reference<OStream>::value &&
+ std::is_base_of<raw_ostream, OStream>::value,
----------------
`std::is_lvalue_reference` -> `std::is_reference`? The semantics is the same (since OStream can never by an rvalue reference), but the spelling is shorter.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70686/new/
https://reviews.llvm.org/D70686
More information about the llvm-commits
mailing list