summaryrefslogtreecommitdiffstats
path: root/contrib/libc++/src/any.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libc++/src/any.cpp')
-rw-r--r--contrib/libc++/src/any.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/contrib/libc++/src/any.cpp b/contrib/libc++/src/any.cpp
new file mode 100644
index 0000000..f776845
--- /dev/null
+++ b/contrib/libc++/src/any.cpp
@@ -0,0 +1,18 @@
+//===---------------------------- any.cpp ---------------------------------===//
+//
+// 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.
+//
+//===----------------------------------------------------------------------===//
+
+#include "experimental/any"
+
+_LIBCPP_BEGIN_NAMESPACE_LFTS
+
+const char* bad_any_cast::what() const _NOEXCEPT {
+ return "bad any cast";
+}
+
+_LIBCPP_END_NAMESPACE_LFTS
OpenPOWER on IntegriCloud