blob: fde071c9a13495055e6e1ab334a9d648d1f4ee43 [file] [log] [blame]
Howard Hinnant11424d32013-09-02 20:30:37 +00001//===------------------------ 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//===----------------------------------------------------------------------===//
9
10#include "optional"
11
12namespace std // purposefully not using versioning namespace
13{
14
15#ifdef _LIBCPP_HAS_NO_DEFAULTED_FUNCTIONS
16
Howard Hinnantcce17f22013-09-04 15:21:08 +000017bad_optional_access::~bad_optional_access() _NOEXCEPT {}
Howard Hinnant11424d32013-09-02 20:30:37 +000018
19#else
20
Howard Hinnantcce17f22013-09-04 15:21:08 +000021bad_optional_access::~bad_optional_access() _NOEXCEPT = default;
Howard Hinnant11424d32013-09-02 20:30:37 +000022
23#endif
24
25} // std