Loading…
C++Now 2018 has ended
Back To Schedule
Tuesday, May 8 • 2:30pm - 4:00pm
Smart Output Iterators

Log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
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++.

Speakers
avatar for Jonathan Boccara

Jonathan Boccara

Lead Principal Software Engineer, Murex
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... Read More →


Tuesday May 8, 2018 2:30pm - 4:00pm MDT
Bethe
  presentation