An amazing Teacher. I need to watch all his talks.
@TheMR-777
2 жыл бұрын
Oh man it's awesome! I was trying to implement the same (fibonacci_view), and was trying to use the “view_interface”, which made me struggle a lot. But failed at the end. But now I came to know, (says calmly) “it was so simple!” Thank you so much Mr. Brindle for teaching the adapters, to have our own “views”. And, Thanks a lot to CppCon as well!
@CppCon
2 жыл бұрын
Glad it helped!
@foragerdev
2 жыл бұрын
I was waiting for such a good talk on ranges. Really enjoyed.
@CppCon
2 жыл бұрын
Glad to hear!
@Bbdu75yg
Жыл бұрын
Brilliant! 👌 👏 😍 👍!
@CppCon
Жыл бұрын
Thank you!
@arthurs4240
4 ай бұрын
Great presentation so far! But it looks like we went from 15 lines of 40 lines of code on the exchange example (with the iterator boiler plate). Also the complexity of having to understand cpp20 features + iterators concept.
@RichardNatal
Жыл бұрын
Just a little correction... it's not std::ranges::unreachable_sentinel_t (or rgn::unreachable_sentinel_t as in the slide) it's std::unreachable_sentinel_t
@kanghewill4069
2 жыл бұрын
36:19 "What we can't do is call find_if_not and pass std::views::reverse(base_) directly as the first argument..." P2017 should have solved this issue, right?
@tcbrindle
2 жыл бұрын
Ah, I’d forgotten about that change! Yes, I believe you’re correct, apologies for the error 🙂
@VioletGiraffe
2 жыл бұрын
std::exchange is super confusing, it does too many things at once. It smells!
@AbamaCai
6 ай бұрын
Very nice talk, please show your code in git link, We can try play with it.
@graham12345dd
Жыл бұрын
Time 17.34 in video, couldn't you have used exchange there (you informed us (me!) of it at beginning of video. Would work nicely here, no?
@arkadymagomedov1700
Жыл бұрын
Failed to implement the last example. The rotate seemingly has no effect... Any chance we could get the sources?
@antoniocs8873
2 жыл бұрын
So is there like a quick recap of all the previous talks from the author? Ranges do seem complicated
@TheMR-777
2 жыл бұрын
Implementation of Adapters do seem complicated, but their usage, feels like absolute POWER!
@ayush.kumar.13907
2 жыл бұрын
is there going to be something about functional programming with C++ in this CppCon?
@mapron1
2 жыл бұрын
Last example - i think that original version is probably more efficient in terms of speed (but not memory), as we have better memory locality.
Пікірлер: 19