The first Pacific++ conference was held in Christchurch, New Zealand on October 26th and 27th 2017. I was lucky enough to attend as a speaker so I got the full conference experience. Location Compared to other C++ conferences, the location of Pacific++ 2017 was very convenient for me. I live in Auckland, NZ, which is only about an hour and a half away from Christchurch by plane. The conference was held at the Sudima Hotel, an easy 5 minute walk from the airport. Being so close to the airport ...| The Things That Toby Typed
The Auckland C++ Meetup on 2016-11-08 was hosted at WhereScape, as have been the previous meetups. This meetup featured two talks: one by myself and one by Nick Sarten. You can find the slides from my talk online at: https://toby-allsopp.github.io/auck-cpp_core-guidelines/. Nick’s slides and code are online at: https://github.com/genbattle/grand-central-format.| The Things That Toby Typed
I present a way to use modern C++ metaprogramming techniques to represent Functors and Monads in a way that is analogous to the way it is done in Haskell. I show how a generic free monad can be written such that any Functor has a corresponding free monad.| The Things That Toby Typed
Traditionally, C++ functions that take parameters by reference have been able to rely on the objects bound to such references outliving the execution of the function. However, things are not so simple when your function is a coroutine; such functions can be suspended and resumed, returning to their caller before they have finished executing. In this article I show how this violation of long-standing expectations can lead to subtle bugs in coroutine code and describe some approaches for avoidi...| The Things That Toby Typed