General Utility Library for C++14  2.8
gul14::bad_expected_access< E > Class Template Reference

Detailed Description

template<typename E>
class gul14::bad_expected_access< E >

The exception thrown by gul14::expected if value() is called, but no value is present.

This exception contains the "unexpected" or "error" value that was stored in the object instead of the "expected" one. It can be accessed via the error() member function.

GUL version 2.8.0

The documentation for this class was generated from the following file: