Boost logo

Boost :

From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2006-06-23 11:54:36


On 6/21/06, Christopher Kohlhoff <chris_at_[hidden]> wrote:
>
> As previously discussed, in this version I have included some
> prototype iostreams and streambuf support. Feedback on this
> would be appreciated.

This is fantastic, Chris. I think that anyone writing simple stream-based
network clients and servers will find these new interfaces very intuitive.

    tcp::iostream s(argv[1], "daytime");
    std::string line;
    std::getline(s, line);
    std::cout << line << std::endl;

It really can't get much easier than that. Kudos.

-- 
Caleb Epstein

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk