tools/llvm: Do not build with symbols
[minix3.git] / external / bsd / libc++ / dist / libcxx / src / optional.cpp
blobb614d811612fa0886fc44996036169154a95ca41
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 //===----------------------------------------------------------------------===//
10 #include "experimental/optional"
12 namespace std // purposefully not using versioning namespace
13 { namespace experimental {
15 #ifdef _LIBCPP_HAS_NO_DEFAULTED_FUNCTIONS
17 bad_optional_access::~bad_optional_access() _NOEXCEPT {}
19 #else
21 bad_optional_access::~bad_optional_access() _NOEXCEPT = default;
23 #endif
25 }} // std::experimental