]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/libc++/src/any.cpp
Merge libc++ r291274, and update the library Makefile.
[FreeBSD/FreeBSD.git] / contrib / libc++ / src / any.cpp
1 //===---------------------------- any.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 "any"
11 #include "experimental/any"
12
13 namespace std {
14 const char* bad_any_cast::what() const _NOEXCEPT {
15     return "bad any cast";
16 }
17 }
18
19 _LIBCPP_BEGIN_NAMESPACE_LFTS
20 const char* bad_any_cast::what() const _NOEXCEPT {
21     return "bad any cast";
22 }
23 _LIBCPP_END_NAMESPACE_LFTS