diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2014-01-29 19:30:27 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2014-01-29 19:30:27 +0000 |
commit | a5b2dbc259e289ea23fe9aebb34eba2c1dc7fefb (patch) | |
tree | 5812a629bd48b0968dee7411809c6a6a19680390 /src/optional.cpp | |
parent | 1c9014238e909c768bf84564733b5441d5c9ea2b (diff) |
Diffstat (limited to 'src/optional.cpp')
-rw-r--r-- | src/optional.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/optional.cpp b/src/optional.cpp new file mode 100644 index 0000000000000..b614d811612fa --- /dev/null +++ b/src/optional.cpp @@ -0,0 +1,25 @@ +//===------------------------ optional.cpp --------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#include "experimental/optional" + +namespace std // purposefully not using versioning namespace +{ namespace experimental { + +#ifdef _LIBCPP_HAS_NO_DEFAULTED_FUNCTIONS + +bad_optional_access::~bad_optional_access() _NOEXCEPT {} + +#else + +bad_optional_access::~bad_optional_access() _NOEXCEPT = default; + +#endif + +}} // std::experimental |