On 5/26/20 2:57 PM, Richard Smith wrote:
Can you humor me for a second and try calling 'view.begin()' directly
before using std::ranges::begin? (I'm suspicious that we're somehow not
triggering instantiation of istream_view until too late; calling
'view.begin()' earlier would resolve the probl
On 5/15/20 6:53 PM, Richard Smith wrote:
Can you try calling begin() on an istream_view& directly, and see
if you get the same error?
$ cat istream_begin.cpp
#include
#include
#include
#include
int main()
{
auto ints = std::istringstream{"0 1 2 3 4"};
auto view{ std::ranges::istream_vi
On 5/13/20 10:09 PM, Richard Smith wrote:
On Wed, 6 May 2020 at 09:24, Ray Lischner via cfe-users
mailto:cfe-users@lists.llvm.org>> wrote:
I am using clang++ 10 with GCC libstdc++ 10 prerelease. I tried
compiling the example from section 24.6.4.1
[range.istream.overvie
I am using clang++ 10 with GCC libstdc++ 10 prerelease. I tried
compiling the example from section 24.6.4.1 [range.istream.overview]. It
works with g++ 10 but with clang++ 10 -std=c++20, I get
constraint-failure errors.
program:
#include
#include
#include
#include
#include
int main()
{