optional.cpp revision 276792
1290650Shselasky//===------------------------ optional.cpp --------------------------------===// 2347819Shselasky// 3290650Shselasky// The LLVM Compiler Infrastructure 4290650Shselasky// 5290650Shselasky// This file is dual licensed under the MIT and the University of Illinois Open 6290650Shselasky// Source Licenses. See LICENSE.TXT for details. 7290650Shselasky// 8290650Shselasky//===----------------------------------------------------------------------===// 9290650Shselasky 10290650Shselasky#include "experimental/optional" 11290650Shselasky 12290650Shselasky_LIBCPP_BEGIN_NAMESPACE_EXPERIMENTAL 13290650Shselasky 14290650Shselasky#ifdef _LIBCPP_HAS_NO_DEFAULTED_FUNCTIONS 15290650Shselasky 16290650Shselaskybad_optional_access::~bad_optional_access() _NOEXCEPT {} 17290650Shselasky 18290650Shselasky#else 19290650Shselasky 20290650Shselaskybad_optional_access::~bad_optional_access() _NOEXCEPT = default; 21290650Shselasky 22290650Shselasky#endif 23290650Shselasky 24290650Shselasky_LIBCPP_END_NAMESPACE_EXPERIMENTAL 25290650Shselasky