14684ddb6SLionel Sambuc //===------------------------ optional.cpp --------------------------------===// 24684ddb6SLionel Sambuc // 34684ddb6SLionel Sambuc // The LLVM Compiler Infrastructure 44684ddb6SLionel Sambuc // 54684ddb6SLionel Sambuc // This file is dual licensed under the MIT and the University of Illinois Open 64684ddb6SLionel Sambuc // Source Licenses. See LICENSE.TXT for details. 74684ddb6SLionel Sambuc // 84684ddb6SLionel Sambuc //===----------------------------------------------------------------------===// 94684ddb6SLionel Sambuc 104684ddb6SLionel Sambuc #include "experimental/optional" 114684ddb6SLionel Sambuc 12*0a6a1f1dSLionel Sambuc _LIBCPP_BEGIN_NAMESPACE_EXPERIMENTAL 134684ddb6SLionel Sambuc 144684ddb6SLionel Sambuc #ifdef _LIBCPP_HAS_NO_DEFAULTED_FUNCTIONS 154684ddb6SLionel Sambuc ~bad_optional_access()164684ddb6SLionel Sambucbad_optional_access::~bad_optional_access() _NOEXCEPT {} 174684ddb6SLionel Sambuc 184684ddb6SLionel Sambuc #else 194684ddb6SLionel Sambuc 204684ddb6SLionel Sambuc bad_optional_access::~bad_optional_access() _NOEXCEPT = default; 214684ddb6SLionel Sambuc 224684ddb6SLionel Sambuc #endif 234684ddb6SLionel Sambuc 24*0a6a1f1dSLionel Sambuc _LIBCPP_END_NAMESPACE_EXPERIMENTAL 25