optional.cpp revision 261272
1122145Sdavidxu//===------------------------ optional.cpp --------------------------------===// 2290494Sbapt// 3290494Sbapt// The LLVM Compiler Infrastructure 4128004Stjr// 5122145Sdavidxu// This file is dual licensed under the MIT and the University of Illinois Open 6122145Sdavidxu// Source Licenses. See LICENSE.TXT for details. 7122145Sdavidxu// 8227753Stheraven//===----------------------------------------------------------------------===// 9227753Stheraven 10227753Stheraven#include "experimental/optional" 11227753Stheraven 12227753Stheravennamespace std // purposefully not using versioning namespace 13122145Sdavidxu{ namespace experimental { 14122145Sdavidxu 15122145Sdavidxu#ifdef _LIBCPP_HAS_NO_DEFAULTED_FUNCTIONS 16122145Sdavidxu 17122145Sdavidxubad_optional_access::~bad_optional_access() _NOEXCEPT {} 18122145Sdavidxu 19122145Sdavidxu#else 20122145Sdavidxu 21122145Sdavidxubad_optional_access::~bad_optional_access() _NOEXCEPT = default; 22122145Sdavidxu 23122145Sdavidxu#endif 24122145Sdavidxu 25122145Sdavidxu}} // std::experimental 26122145Sdavidxu