*
* @param ep The exception_pointer. Will be rethrown.
*/
- explicit Try(std::exception_ptr ep) DEPRECATED
+ DEPRECATED explicit Try(std::exception_ptr ep)
: contains_(Contains::EXCEPTION) {
try {
std::rethrow_exception(ep);
*
* @param ep The exception_pointer. Will be rethrown.
*/
- explicit Try(std::exception_ptr ep) DEPRECATED : hasValue_(false) {
+ DEPRECATED explicit Try(std::exception_ptr ep) : hasValue_(false) {
try {
std::rethrow_exception(ep);
} catch (const std::exception& e) {