[all-commits] [llvm/llvm-project] 71a16e: [libcxx] ostream{, buf}_iterator::difference_type c...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Mon Sep 14 08:08:50 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 71a16e40f78adee12663816edf6635b96dca09dc
https://github.com/llvm/llvm-project/commit/71a16e40f78adee12663816edf6635b96dca09dc
Author: Louis Dionne <ldionne at apple.com>
Date: 2020-09-14 (Mon, 14 Sep 2020)
Changed paths:
M libcxx/include/iterator
M libcxx/test/std/iterators/stream.iterators/ostream.iterator/types.pass.cpp
M libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/types.pass.cpp
Log Message:
-----------
[libcxx] ostream{,buf}_iterator::difference_type changes in C++20
In C++20, since P0896R4, std::ostream_iterator and std::ostreambuf_iterator
must have std::ptrdiff_t instead of void as a difference_type.
Tests by Casey Carter (thanks!).
Differential Revision: https://reviews.llvm.org/D87459
More information about the All-commits
mailing list