Howard Hinnant | 11424d3 | 2013-09-02 20:30:37 +0000 | [diff] [blame^] | 1 | //===------------------------ 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 | |
| 12 | namespace std // purposefully not using versioning namespace |
| 13 | { |
| 14 | |
| 15 | #ifdef _LIBCPP_HAS_NO_DEFAULTED_FUNCTIONS |
| 16 | |
| 17 | bad_optional_access::~bad_optional_access() {} |
| 18 | |
| 19 | #else |
| 20 | |
| 21 | bad_optional_access::~bad_optional_access() = default; |
| 22 | |
| 23 | #endif |
| 24 | |
| 25 | } // std |