xref: /minix3/external/bsd/libc++/dist/libcxx/src/any.cpp (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc //===---------------------------- any.cpp ---------------------------------===//
2*0a6a1f1dSLionel Sambuc //
3*0a6a1f1dSLionel Sambuc //                     The LLVM Compiler Infrastructure
4*0a6a1f1dSLionel Sambuc //
5*0a6a1f1dSLionel Sambuc // This file is dual licensed under the MIT and the University of Illinois Open
6*0a6a1f1dSLionel Sambuc // Source Licenses. See LICENSE.TXT for details.
7*0a6a1f1dSLionel Sambuc //
8*0a6a1f1dSLionel Sambuc //===----------------------------------------------------------------------===//
9*0a6a1f1dSLionel Sambuc 
10*0a6a1f1dSLionel Sambuc #include "experimental/any"
11*0a6a1f1dSLionel Sambuc 
12*0a6a1f1dSLionel Sambuc _LIBCPP_BEGIN_NAMESPACE_LFTS
13*0a6a1f1dSLionel Sambuc 
what() const14*0a6a1f1dSLionel Sambuc const char* bad_any_cast::what() const _NOEXCEPT {
15*0a6a1f1dSLionel Sambuc     return "bad any cast";
16*0a6a1f1dSLionel Sambuc }
17*0a6a1f1dSLionel Sambuc 
18*0a6a1f1dSLionel Sambuc _LIBCPP_END_NAMESPACE_LFTS
19