Boost logo

Boost Users :

Subject: Re: [Boost-users] Asio and Spirit
From: Yang Acer (yangacer_at_[hidden])
Date: 2013-06-30 09:11:22


On 2013/6/30, at 4:32, "LeMay.Steve" <Steve.Lemay_at_[hidden]> wrote:

> Can anyone point me to a modern example or description of using Asio with Spirit to parse and asynchronous stream. I keep finding articles that say this can't be done, or at least not easily (but the comments date back to 2007).
>
> SGL
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users

You can try coroutine. Here is an example of how to integrate coroutine with asio:
http://www.boost.org/doc/libs/1_54_0/libs/coroutine/doc/html/coroutine/intro.html

Best
Acer



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