Neil Henderson
Neil Henderson
> Can you remind me where scan_left comes from? `scan_left` is from code_report's [example](https://github.com/codereport/Content/blob/main/Talks/2023-07-CppNorth/New%20Algorithms%20in%20C%2B%2B23/filter_out_html_tags.cpp). ``` auto scan_left(auto rng, auto init, auto op) { return transform(rng, [first = true, acc =...
There's some overlap between UFCS and this proposed pipeline operator. Conor's presentation shows off various range pipeline examples, but the P2011 and P2672 papers discuss the motivation and problem space....
You're right that UFCS is very close already, and arguably the dot syntax is just as nice as the new operator, but with UFCS I'd still prefer a token to...
[BUG] Can't pass dependent type template argument #727
> I think you should change the tests instead. You shouldn't be making anonymous objects using a trivial constructor with trivial destruction. The motivation wasn't to fix the warnings in...
> Well, you shouldn't make an object out of it, but instead discard it by leaving out the `:` and the type: `_ = initialize();`. Oh, of course, I completely...
> See the commit message for commit [41e5469](https://github.com/hsutter/cppfront/commit/41e54690f914ece7bc70e2ae695dd183ebf1fd53). Do you mean this part? > - rationale: if that were allowed to keep the returned object alive, that syntax would be...
> My bias would be to want to see some concrete data that it's a pain point before complicating the lowering for ordinary function calls. I also prefer an evidence/data-driven...
> Something might have updated, because it's erroring now (the error is from clang, not cppfront): Yeah, I get subsequent warnings/errors from the compiler, but I'm pretty sure in previous...
> The index needs to be known at compile time though, as the return type depends on it. Yes, the `tup.1` syntax proposed above would be lowered to `std::get(tup)`.