Searched refs:bad_optional_access (Results 1 – 10 of 10) sorted by relevance
/external/libcxx/src/ |
D | optional.cpp | 15 bad_optional_access::~bad_optional_access() _NOEXCEPT = default; 17 const char* bad_optional_access::what() const _NOEXCEPT { in what() 30 class _LIBCPP_EXCEPTION_ABI _LIBCPP_AVAILABILITY_BAD_OPTIONAL_ACCESS bad_optional_access class 34 bad_optional_access() : std::logic_error("Bad optional Access") {} in bad_optional_access() function in bad_optional_access 37 virtual ~bad_optional_access() _NOEXCEPT; 40 bad_optional_access::~bad_optional_access() _NOEXCEPT = default;
|
/external/libcxx/test/std/utilities/optional/optional.bad_optional_access/ |
D | derive.pass.cpp | 29 using std::bad_optional_access; in main() 31 static_assert(std::is_base_of<std::exception, bad_optional_access>::value, ""); in main() 32 static_assert(std::is_convertible<bad_optional_access*, std::exception*>::value, ""); in main()
|
D | default.pass.cpp | 29 using std::bad_optional_access; in main() 30 bad_optional_access ex; in main()
|
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.observe/ |
D | value_const.pass.cpp | 33 using std::bad_optional_access; 68 catch (const bad_optional_access&) in main()
|
D | value.pass.cpp | 31 using std::bad_optional_access; 76 catch (const bad_optional_access&) in main()
|
D | value_const_rvalue.pass.cpp | 33 using std::bad_optional_access; 68 catch (const bad_optional_access&) in main()
|
D | value_rvalue.pass.cpp | 30 using std::bad_optional_access; 74 catch (const bad_optional_access&) in main()
|
/external/bcc/src/cc/vendor/ |
D | optional.hpp | 259 class bad_optional_access : public logic_error { class 261 explicit bad_optional_access(const string& what_arg) : logic_error{what_arg} {} in bad_optional_access() function in std::experimental::bad_optional_access 262 explicit bad_optional_access(const char* what_arg) : logic_error{what_arg} {} in bad_optional_access() function in std::experimental::bad_optional_access 526 …return initialized() ? contained_val() : (throw bad_optional_access("bad optional access"), contai… in value() 530 …return initialized() ? contained_val() : (throw bad_optional_access("bad optional access"), contai… in value() 534 if (!initialized()) throw bad_optional_access("bad optional access"); in value() 555 …return initialized() ? contained_val() : (throw bad_optional_access("bad optional access"), contai… in value() 559 …return initialized() ? contained_val() : (throw bad_optional_access("bad optional access"), contai… in value() 688 return ref ? *ref : (throw bad_optional_access("bad optional access"), *ref); in value()
|
/external/libcxx/include/ |
D | optional | 27 // 23.6.5, class bad_optional_access 28 class bad_optional_access; 172 class _LIBCPP_EXCEPTION_ABI _LIBCPP_AVAILABILITY_BAD_OPTIONAL_ACCESS bad_optional_access 176 // Get the key function ~bad_optional_access() into the dylib 177 virtual ~bad_optional_access() _NOEXCEPT; 192 throw bad_optional_access();
|
/external/libcxx/docs/DesignDocs/ |
D | AvailabilityMarkup.rst | 47 class _LIBCPP_EXCEPTION_ABI _LIBCPP_AVAILABILITY_BAD_OPTIONAL_ACCESS bad_optional_access
|