CppCon 2016 has ended
Wednesday, September 21 • 2:00pm - 3:00pm
STL Algorithms - why you should use them, and how to write your own

Log in to save this to your schedule and see who's attending!

One of the most powerful features of the C++ standard library is the collection of basic algorithms. Everyone knows about sort and copy, but there are is a lot of powerful capabilities in the other algorithms as well. In this talk, I will explore some of the algorithms in the library, and give a rationale for writing your own, along with examples.

The motivation for writing your own algorithms is that you can create generic building blocks that can be used over and over again in your library or application, and which will allow your to program at a higher level of abstraction. Instead of thinking, "how do I sort this vector", you just call std::sort. The same should apply to the algorithms that are specific to your domain - once you write them.


Marshall Clow

Principal Engineer, Qualcomm, Inc.
Marshall is a long-time LLVM and Boost participant. He is a principal engineer at Qualcomm, Inc. in San Diego, and the code owner for libc++, the LLVM standard library implementation. He is the author of the Boost.Algorithm library and maintains several other Boost libraries.

Wednesday September 21, 2016 2:00pm - 3:00pm
Bowie Hall (1st Floor Hall) Meydenbauer Center

Attendees (211)