mirror of
https://github.com/boostorg/context.git
synced 2026-01-24 17:52:41 +00:00
update docu
This commit is contained in:
@@ -211,7 +211,7 @@ __ec_op__, in one context, is returned by __ec_op__ in the other context.
|
||||
int i = * static_cast< int * >( vp);
|
||||
std::string str = boost::lexical_cast<std::string>(i);
|
||||
caller_( & str);
|
||||
} catch (...) {
|
||||
} catch (std::bad_cast const&) {
|
||||
excptr_=std::current_exception();
|
||||
}
|
||||
})
|
||||
|
||||
@@ -176,10 +176,7 @@ direction, ['boost::variant<>] could be used.
|
||||
auto result = ctx( data);
|
||||
ctx = std::move( std::get<0>( result) );
|
||||
data = std::get<1>( result);
|
||||
}
|
||||
} catch ( boost::context::detail::forced_unwind const&) {
|
||||
throw;
|
||||
} catch (...) {
|
||||
} catch (std::bad_cast const&) {
|
||||
excptr_=std::current_exception();
|
||||
}
|
||||
return ctx;
|
||||
|
||||
Reference in New Issue
Block a user