|
|
boost::system::error_code * | ec_ { nullptr } |
| |
Definition at line 14 of file yield.h.
◆ operator[]()
| yield_t util::fibers_ext::yield_t::operator[] |
( |
boost::system::error_code & |
ec | ) |
const |
|
inline |
static yield_t yield;
boost::system::error_code myec;
func(yield[myec]);
yield[myec] returns an instance of yield_t whose ec_ points to myec. The expression yield[myec] "binds" myec to that (anonymous) yield_t instance, instructing func() to store any error_code it might produce into myec rather than throwing boost::system::system_error.
Definition at line 30 of file yield.h.
The documentation for this class was generated from the following file: