__config 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. // -*- C++ -*-
  2. //===--------------------------- __config ---------------------------------===//
  3. //
  4. // The LLVM Compiler Infrastructure
  5. //
  6. // This file is dual licensed under the MIT and the University of Illinois Open
  7. // Source Licenses. See LICENSE.TXT for details.
  8. //
  9. //===----------------------------------------------------------------------===//
  10. #ifndef _LIBCPP_EXPERIMENTAL_CONFIG
  11. #define _LIBCPP_EXPERIMENTAL_CONFIG
  12. #include <__config>
  13. #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
  14. #pragma GCC system_header
  15. #endif
  16. #define _LIBCPP_BEGIN_NAMESPACE_EXPERIMENTAL namespace std { namespace experimental {
  17. #define _LIBCPP_END_NAMESPACE_EXPERIMENTAL } }
  18. #define _VSTD_EXPERIMENTAL std::experimental
  19. #define _LIBCPP_BEGIN_NAMESPACE_LFTS _LIBCPP_BEGIN_NAMESPACE_EXPERIMENTAL inline namespace fundamentals_v1 {
  20. #define _LIBCPP_END_NAMESPACE_LFTS } } }
  21. #define _VSTD_LFTS _VSTD_EXPERIMENTAL::fundamentals_v1
  22. #define _LIBCPP_BEGIN_NAMESPACE_LFTS_V2 _LIBCPP_BEGIN_NAMESPACE_EXPERIMENTAL inline namespace fundamentals_v2 {
  23. #define _LIBCPP_END_NAMESPACE_LFTS_V2 } } }
  24. #define _VSTD_LFTS_V2 _VSTD_EXPERIMENTAL::fundamentals_v2
  25. #define _LIBCPP_BEGIN_NAMESPACE_LFTS_PMR _LIBCPP_BEGIN_NAMESPACE_LFTS namespace pmr {
  26. #define _LIBCPP_END_NAMESPACE_LFTS_PMR _LIBCPP_END_NAMESPACE_LFTS }
  27. #define _VSTD_LFTS_PMR _VSTD_LFTS::pmr
  28. #define _LIBCPP_BEGIN_NAMESPACE_CHRONO_LFTS _LIBCPP_BEGIN_NAMESPACE_STD \
  29. namespace chrono { namespace experimental { inline namespace fundamentals_v1 {
  30. #define _LIBCPP_END_NAMESPACE_CHRONO_LFTS _LIBCPP_END_NAMESPACE_STD } } }
  31. #define _LIBCPP_BEGIN_NAMESPACE_EXPERIMENTAL_FILESYSTEM \
  32. _LIBCPP_BEGIN_NAMESPACE_EXPERIMENTAL namespace filesystem { \
  33. inline namespace v1 {
  34. #define _LIBCPP_END_NAMESPACE_EXPERIMENTAL_FILESYSTEM \
  35. } } _LIBCPP_END_NAMESPACE_EXPERIMENTAL
  36. #define _VSTD_FS ::std::experimental::filesystem::v1
  37. #endif