optional.cpp revision 314564
1//===------------------------ optional.cpp --------------------------------===//
2//
3//                     The LLVM Compiler Infrastructure
4//
5// This file is dual licensed under the MIT and the University of Illinois Open
6// Source Licenses. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#include "optional"
11#include "experimental/optional"
12
13namespace std
14{
15
16bad_optional_access::~bad_optional_access() _NOEXCEPT = default;
17
18const char* bad_optional_access::what() const _NOEXCEPT {
19  return "bad_optional_access";
20  }
21
22} // std
23
24_LIBCPP_BEGIN_NAMESPACE_EXPERIMENTAL
25
26bad_optional_access::~bad_optional_access() _NOEXCEPT = default;
27
28_LIBCPP_END_NAMESPACE_EXPERIMENTAL
29