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