filmov
tv
C++Now 2018: Jonathan Boccara “Smart Output Iterators”

Показать описание
—
—
Smart output iterators are an approach to perform operations on collections in C++. In this session, you'll see what they are and how they complement the STL algorithms and the range library.
Indeed, range-v3's adaptors put some operations inside of the iterators of an *input* collection. What if we put some logic inside the *output* iterators? What are the advantages to do so?
In this session, we'll see various kinds of smart output iterators, such as iterators that help a smooth integration into data structures, and iterators that relieve some of the complexity of the algorithms.
We'll discuss when it makes sense to stick with the STL algorithms, to prefer ranges adaptors, or to go for smart output iterators.,You'll also see a comparison of performance of those designs.
I've used smart output iterators in my code and presented them at the C++ meetup in Paris. I'd like to show them to you to hear your opinion and debate about their interest and about the optimal strategy to manipulate collections in C++.
—
Jonathan Boccara
Jonathan Boccara is a Principal Engineering Lead at Murex where he works on large codebases in C++.
His primary focus is searching how to make code more expressive. He has dedicated his blog, Fluent C++, to writing expressive code in C++.
He also gives internal trainings on C++ every day, in the short format called "Dailies".
—
---
*--*
---
—
Smart output iterators are an approach to perform operations on collections in C++. In this session, you'll see what they are and how they complement the STL algorithms and the range library.
Indeed, range-v3's adaptors put some operations inside of the iterators of an *input* collection. What if we put some logic inside the *output* iterators? What are the advantages to do so?
In this session, we'll see various kinds of smart output iterators, such as iterators that help a smooth integration into data structures, and iterators that relieve some of the complexity of the algorithms.
We'll discuss when it makes sense to stick with the STL algorithms, to prefer ranges adaptors, or to go for smart output iterators.,You'll also see a comparison of performance of those designs.
I've used smart output iterators in my code and presented them at the C++ meetup in Paris. I'd like to show them to you to hear your opinion and debate about their interest and about the optimal strategy to manipulate collections in C++.
—
Jonathan Boccara
Jonathan Boccara is a Principal Engineering Lead at Murex where he works on large codebases in C++.
His primary focus is searching how to make code more expressive. He has dedicated his blog, Fluent C++, to writing expressive code in C++.
He also gives internal trainings on C++ every day, in the short format called "Dailies".
—
---
*--*
---
Комментарии