blob: 45b2337eb353f0cb220f554a57886ced10c3102b [file] [log] [blame]
Eric Fiselier7175a072015-07-31 02:24:58 +00001//===---------------------------- 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
Eric Fiseliere739d542016-08-11 03:13:11 +000010#include "any"
Eric Fiselier7175a072015-07-31 02:24:58 +000011#include "experimental/any"
12
Eric Fiseliere739d542016-08-11 03:13:11 +000013namespace std {
Eric Fiselier7175a072015-07-31 02:24:58 +000014const char* bad_any_cast::what() const _NOEXCEPT {
15 return "bad any cast";
16}
Eric Fiseliere739d542016-08-11 03:13:11 +000017}
Eric Fiselier7175a072015-07-31 02:24:58 +000018
Eric Fiseliere739d542016-08-11 03:13:11 +000019_LIBCPP_BEGIN_NAMESPACE_LFTS
20const char* bad_any_cast::what() const _NOEXCEPT {
21 return "bad any cast";
22}
Eric Fiselier7175a072015-07-31 02:24:58 +000023_LIBCPP_END_NAMESPACE_LFTS