https://www.cppnow.org
/ cppnow
---
take(5): Using the C++ Iterator Model to Take Elements from an Input Stream - Barry Revzin - CppNow 2023
Slides: https://github.com/boostcon
---
This talk is entirely about a short example, about a dozen lines of code, involving the interaction between views::istreamT and views::take. The behavior might be surprising, but in order to make sense of it, we have to first really deeply understand the C++ iterator model and what end() really means. Only then can we even answer the questions: is this broken? Can we fix it?
---
Barry Revzin
Barry is a senior C++ developer at Jump Trading in Chicago, a research and technology driven trading firm. After programming for many years, he got really into the nuances and intricacies of C++ by being unreasonably active on StackOverflow (where he is the top contributor in C++14, C++17, C++20, and C++23). A lot of his C++ knowledge comes from just answering questions that he doesn’t know the answers to, especially when he answers them incorrectly at first.
His C++ involvement escalated when he started attending standards committee meetings in 2016, having written dozens of papers for C++20 and C++23. You might know him from such features as <=> (the parts that broke your code), pack expansion in lambda init-capture, explicit(bool), conditionally trivial special member functions, deducing this, if consteval, and the ability to finally write a constexpr function template that returns the size of an array.
---
Video Sponsors: think-cell and Bloomberg Engineering
Audience Audio Sponsors: Innoplex and Maryland Research Institute
---
Videos Filmed & Edited By Bash Films: https://bashfilms.com/
YouTube Channel Managed & Optimized By Digital Medium Ltd: https://events.digital-medium.co.uk
---
CppNow 2024
https://www.cppnow.org
/ cppnow
---
#boost #cpp #iterator
コメント