exception overloads

Synopses

Declared in <folly/Try.h>

Get a mutable reference to the contained exception.

Get an rvalue reference to the contained exception.

Get a const reference to the contained exception.

exception_wrapper const&
exception() const &;

Get a const rvalue reference to the contained exception.

exception_wrapper const&&
exception() const &&;

Return Value

  • A mutable reference to the contained exception_wrapper.

  • An rvalue reference to the contained exception_wrapper.

  • A const reference to the contained exception_wrapper.

  • A const rvalue reference to the contained exception_wrapper.

Created with MrDocs