Boost logo

Boost :

Subject: Re: [boost] [next gen future-promise] What to call the monadic return type?
From: Rob Stewart (rob.stewart_at_[hidden])
Date: 2015-05-25 15:29:38

On May 25, 2015 10:51:17 AM EDT, Niall Douglas <s_sourceforge_at_[hidden]> wrote:
> On 25 May 2015 at 8:27, Rob Stewart wrote:
> > > In case you might want to know why a monadic return transport
> might
> > > be so useful as to be a whole new design idiom for C++ 11, try
> > > reading
> > >
> >
> > Make the examples in that correct WRT shared_ptr. As written, the
> > shared_ptrs will delete file handles rather than close them.
> I would imagine destroying an open file handle would close it.
> Anyway, that really isn't important to the code examples given the
> topic, it was never mentioned what a handle_type is, I had an
> afio::async_io_handle in mind but it doesn't matter.

Your example calls ::open() and fd is an int.


(Sent from my portable computation engine)

Boost list run by bdawes at, gregod at, cpdaniel at, john at