mirror of
https://github.com/boostorg/fiber.git
synced 2026-02-11 11:42:23 +00:00
add comment related to derrred-call
This commit is contained in:
@@ -186,7 +186,9 @@ public:
|
||||
flags_( 0),
|
||||
splk_(),
|
||||
ctx_( palloc, salloc,
|
||||
// general lambda with moveable
|
||||
// lambda, executed in execution context
|
||||
// mutable: generated operator() is not const -> enables std::move( fn)
|
||||
// std::make_tuple: stores decayed copies of its args, implicitly unwraps std::reference_wrapper
|
||||
[=,fn=std::forward< Fn >( fn),tpl=std::make_tuple( std::forward< Args >( args) ...)] () mutable -> decltype( auto) {
|
||||
try {
|
||||
BOOST_ASSERT( is_running() );
|
||||
|
||||
Reference in New Issue
Block a user