diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2014-01-30 07:44:22 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2014-01-30 07:44:22 +0000 |
commit | 4f7ab58ee65f0525390478dea6beb0c50f2c96bb (patch) | |
tree | add3759d4df7ee10d814c3b2561c3c28fcd9cef2 /contrib/libc++/src/optional.cpp | |
parent | 9a40e29377f31b724351a8fc492a132392c3e408 (diff) | |
parent | a5b2dbc259e289ea23fe9aebb34eba2c1dc7fefb (diff) |
Notes
Diffstat (limited to 'contrib/libc++/src/optional.cpp')
-rw-r--r-- | contrib/libc++/src/optional.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/contrib/libc++/src/optional.cpp b/contrib/libc++/src/optional.cpp new file mode 100644 index 0000000000000..b614d811612fa --- /dev/null +++ b/contrib/libc++/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 |