any.cpp 618 B

1234567891011121314151617181920212223
  1. //===---------------------------- 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. #include "__config"
  10. #if !defined(_LIBCPP_SGX_CONFIG)
  11. #include "experimental/any"
  12. _LIBCPP_BEGIN_NAMESPACE_LFTS
  13. const char* bad_any_cast::what() const _NOEXCEPT {
  14. return "bad any cast";
  15. }
  16. _LIBCPP_END_NAMESPACE_LFTS
  17. #endif // !defined(_LIBCPP_SGX_CONFIG)