#include <yield.hpp>
|
boost::system::error_code * | ec_ { nullptr } |
|
Definition at line 22 of file yield.hpp.
◆ yield_t()
boost::fibers::asio::yield_t::yield_t |
( |
| ) |
|
|
default |
◆ operator[]()
yield_t boost::fibers::asio::yield_t::operator[] |
( |
boost::system::error_code & | ec | ) |
const |
|
inline |
boost::system::error_code myec;
thread_local yield_t yield
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 38 of file yield.hpp.
38 {
40 tmp.ec_ = & ec;
41 return tmp;
42 }
◆ ec_
boost::system::error_code* boost::fibers::asio::yield_t::ec_ { nullptr } |
The documentation for this class was generated from the following file: