Boost logo

Boost Users :

Subject: Re: [Boost-users] [Boost.Asio] defer, dispatch and post differences?
From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2018-01-05 15:36:42


On Fri, Jan 5, 2018 at 7:21 AM, Richard Hodges via Boost-users
<boost-users_at_[hidden]> wrote:
> When I had a query regarding the newer standalone boost, I emailed Chris
> directly. He very helpfully replied promptly and fully.

I emailed him too, several months ago, and this is what I got back:

    post() -> handler_is_continuation() == false
    defer() -> handler_is_continuation() == true

> Every piece of information you need is there, exactly once, with not even
> one character more than is necessary to aid understanding.

Yeah I know what you mean. It is quintessentially D.R.Y..

I'll note that Asio does not use defer() anywhere in its
implementation. I have not found any code which demonstrates its use.

Thanks


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net