opnsense-src/contrib/libc++/src/optional.cpp
Dimitry Andric 4f7ab58ee6 Import libc++ 3.4 release. This contains a lot of bugfixes, and some
preliminary support for C++1y.

MFC after:	3 weeks
2014-01-30 07:44:22 +00:00

25 lines
688 B
C++

//===------------------------ optional.cpp --------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include "experimental/optional"
namespace std // purposefully not using versioning namespace
{ namespace experimental {
#ifdef _LIBCPP_HAS_NO_DEFAULTED_FUNCTIONS
bad_optional_access::~bad_optional_access() _NOEXCEPT {}
#else
bad_optional_access::~bad_optional_access() _NOEXCEPT = default;
#endif
}} // std::experimental