All events
Silicon Valley Code Camp : October 11th and 12th 2014Session

C++11 in the Wild: Techniques from a Real Codebase

Techniques from MemSQL's C++11 codebase. The Auto() macro is the next evolution of OnScopeExit(). make_iterable (a.k.a. as_range) allows "viewing" an arbitrary range as if it were a container. StringConverter. std::spaceship.

  • When 2:45 PM Sunday
  • Where 5001

About This Session

Three techniques from a production C++11 codebase.
The Auto() macro allows writing arbitrary end-of-scope cleanup code in-line, with zero boilerplate and zero runtime overhead.
make_iterable() (alias boost::iterator_range) takes a pair of iterators and turns them back into a "container" usable in C++11's ranged for loop.
std::spaceship (not actually part of the standard) implements a Perl-style <=> operator in a maximally efficient way for C++11 tuples.
  • Time 2:45 PM Sunday
  • Room 5001

The Speaker(s)

Arthur O'Dwyer

Arthur O'Dwyer

Staff Software Engineer, Nominum

Arthur has spoken at CppCon, C++Now, and SVCC, and is writing a book about the C++ Standard Library.