MCPcopy Create free account
hub / github.com/davisking/dlib / bad_optional_access

Class bad_optional_access

dlib/optional.h:15–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13// ---------------------------------------------------------------------------------------------------
14
15 class bad_optional_access : public std::exception
16 {
17 public:
18 bad_optional_access() = default;
19 const char *what() const noexcept { return "Optional has no value"; }
20 };
21
22// ---------------------------------------------------------------------------------------------------
23

Callers 1

optionalClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected