Jonathan Boccara's blog

How Smart Output Iterators Avoid the TPOIASI

Published February 15, 2019 - 0 Comments
smart output iterators range C++

In the last post we saw the TPOIASI, or Terrible Problem Of Incrementing A Smart Iterator, that could incur a performance cost in code that uses range adaptors. Today, we’ll see how smart output iterators fare with the TPOIASI (spoiler: they have a way to avoid the problem). Now if you’re wondering what smart iterators, […]

The Terrible Problem Of Incrementing A Smart Iterator

Published February 12, 2019 - 0 Comments
smart iterator range C++

The Terrible Problem Of Incrementing A Smart Iterator (or TPOIASI) is a difficulty that arises when implementing smart iterators. But even if you don’t implement smart iterators, you may use them in a disguised form, now or in the future. And then, the TPOIASI might impact your code in a subtle manner. Since the world […]

Why You Should Use std::for_each over Range-based For Loops

Published February 7, 2019 - 0 Comments

Today’s guest post is written by Jon Kalb. Jon’s infrequently updated blog is // info and he podcasts with Phil Nash on Cpp.chat. For onsite training he can be reached at jon@cpp.training. I’d like start by thanking Jonathan for creating and maintaining the Fluent{C++} blog, for the conversations that it spawns, and for letting me […]

The Legacy Code Programmer’s Toolbox is Out

Published February 1, 2019 - 0 Comments
The Legacy Code Programmer's Toolbox

This is it. My first book, The Legacy Code Programmer’s Toolbox, is out. It is available in electronic format: If you don’t have more than 45 seconds to spare right now, watch this little video about the book: What this book will bring you If you are a working in the software industry and you’re […]

The Pitfalls of Aliasing Pointers in Modern C++

Published January 22, 2019 - 0 Comments

This is guest post written by a guest author Benjamin Bourdin. If you’re also interested to share your ideas on Fluent C++, check out our guest posting area. With the advent of smart pointers in Modern C++, we see less and less of the low-level concerns of memory management in our business code. And for […]

Indexing Data Structures with C++ Scoped Enums

Published January 15, 2019 - 0 Comments

Today’s guest post is written by Fernando J. Iglesias Garcia. Fernando is half software engineer, half junior researcher, interested in modern C++ and graph signal processing. Fernando can be reached online at @feriglegarc on Twitter and GitHub. Interested in writing for Fluent C++ too? Submit your guest post! Recently, a couple of colleagues and I participated […]