Herb Sutter
Herb Sutter
Wow, that was fast. I was just trying to write the code for `zip_transform` a different way, but I see a statement parameter worked. What about expressing this |> zip_transform(std::logical_or{},...
Yes -- in a racing update I was updating the comment to say the following, but I'll make it a separate reply instead: Right, that code is currently rejected because...
> I wish I could use the terse function syntax, but `main.cpp2: error: unexpected end of source file`. Thanks! It's rare these days that I find a bug in the...
I don't seem to have a C++ compiler installed on this machine that supports all of the new range/view things used in this example, because I'm mainly testing with a-few-years-old...
[Edited to add that this also helps reduce need for library techniques like overloading `|`] Groovy, thanks. I've learned two major things from this thread: - UFCS is even more...
> > . :(x) zip_transform(std::logical_or(), x, scan_left(x, true, std::not_equal_to())) () > > That's not valid grammar (https://cpp2.godbolt.org/z/9avjYh6sb): Right, I like the `call` helper well enough that I'm waiting to see...
Thanks! Since even after the changes already made above UFCS still continues to be an issue, including that we now have more data UFCS is a compile-time performance issue, I'm...
With 9648191ecf0000696024bb54ecb8202373a922e9 we have the ability to use `..` to select only a member (e.g., `str..append("xyzzy");`. And we also have the other improvements prompted by this issue, including removing some...
Thanks! @helmesjo when you get a chance would you please check that the commit I pushed onto this PR before merging still keeps the behavior that you wanted?