2015-12-30 06:54:09 -05:00
|
|
|
//===---------------------------- any.cpp ---------------------------------===//
|
2015-09-06 14:46:46 -04:00
|
|
|
//
|
|
|
|
|
// 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.
|
|
|
|
|
//
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
2017-01-02 14:18:58 -05:00
|
|
|
#include "any"
|
2015-12-30 06:54:09 -05:00
|
|
|
#include "experimental/any"
|
2015-09-06 14:46:46 -04:00
|
|
|
|
2017-01-02 14:18:58 -05:00
|
|
|
namespace std {
|
2015-12-30 06:54:09 -05:00
|
|
|
const char* bad_any_cast::what() const _NOEXCEPT {
|
|
|
|
|
return "bad any cast";
|
2015-09-06 14:46:46 -04:00
|
|
|
}
|
2017-01-02 14:18:58 -05:00
|
|
|
}
|
2015-12-30 06:54:09 -05:00
|
|
|
|
2017-01-02 14:18:58 -05:00
|
|
|
_LIBCPP_BEGIN_NAMESPACE_LFTS
|
|
|
|
|
const char* bad_any_cast::what() const _NOEXCEPT {
|
|
|
|
|
return "bad any cast";
|
|
|
|
|
}
|
2015-12-30 06:54:09 -05:00
|
|
|
_LIBCPP_END_NAMESPACE_LFTS
|