2
0
mirror of https://github.com/boostorg/context.git synced 2026-01-24 17:52:41 +00:00

update docu

This commit is contained in:
Oliver Kowalke
2016-02-15 19:38:06 +01:00
parent fdad9ddef8
commit d197ecc83e
2 changed files with 2 additions and 5 deletions

View File

@@ -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();
}
})

View File

@@ -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;