The asio library passes an error parameter in a lot of its examples, ie; http://think-async.com/Asio/asio-1.5.3/src/examples/echo/async_tcp_echo_server.cpp
What's the point of this parameter? Does asio actually populate this parameter with errors?
If I remove it from my handler function it compiles fine.