BVB Source Codes

mars Show msl.hpp Source code

Return Download mars: download msl.hpp Source code - Download mars Source code - Type:.hpp
  1. //  (C) Copyright John Maddock 2001.
  2. //  (C) Copyright Darin Adler 2001.
  3. //  Use, modification and distribution are subject to the
  4. //  Boost Software License, Version 1.0. (See accompanying file
  5. //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6.  
  7. //  See http://www.boost.org for most recent version.
  8.  
  9. //  Metrowerks standard library:
  10.  
  11. #ifndef __MSL_CPP__
  12. #  include <boost/config/no_tr1/utility.hpp>
  13. #  ifndef __MSL_CPP__
  14. #     error This is not the MSL standard library!
  15. #  endif
  16. #endif
  17.  
  18. #if __MSL_CPP__ >= 0x6000  // Pro 6
  19. #  define BOOST_HAS_HASH
  20. #  define BOOST_STD_EXTENSION_NAMESPACE Metrowerks
  21. #endif
  22. #define BOOST_HAS_SLIST
  23.  
  24. #if __MSL_CPP__ < 0x6209
  25. #  define BOOST_NO_STD_MESSAGES
  26. #endif
  27.  
  28. // check C lib version for <stdint.h>
  29. #include <cstddef>
  30.  
  31. #if defined(__MSL__) && (__MSL__ >= 0x5000)
  32. #  define BOOST_HAS_STDINT_H
  33. #  if !defined(__PALMOS_TRAPS__)
  34. #    define BOOST_HAS_UNISTD_H
  35. #  endif
  36.    // boilerplate code:
  37. #  include <boost/config/posix_features.hpp>
  38. #endif
  39.  
  40. #if defined(_MWMT) || _MSL_THREADSAFE
  41. #  define BOOST_HAS_THREADS
  42. #endif
  43.  
  44. #ifdef _MSL_NO_EXPLICIT_FUNC_TEMPLATE_ARG
  45. #  define BOOST_NO_STD_USE_FACET
  46. #  define BOOST_HAS_TWO_ARG_USE_FACET
  47. #endif
  48.  
  49. //  C++0x headers not yet implemented
  50. //
  51. #  define BOOST_NO_CXX11_HDR_ARRAY
  52. #  define BOOST_NO_CXX11_HDR_CHRONO
  53. #  define BOOST_NO_CXX11_HDR_CODECVT
  54. #  define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE
  55. #  define BOOST_NO_CXX11_HDR_FORWARD_LIST
  56. #  define BOOST_NO_CXX11_HDR_FUTURE
  57. #  define BOOST_NO_CXX11_HDR_INITIALIZER_LIST
  58. #  define BOOST_NO_CXX11_HDR_MUTEX
  59. #  define BOOST_NO_CXX11_HDR_RANDOM
  60. #  define BOOST_NO_CXX11_HDR_RATIO
  61. #  define BOOST_NO_CXX11_HDR_REGEX
  62. #  define BOOST_NO_CXX11_HDR_SYSTEM_ERROR
  63. #  define BOOST_NO_CXX11_HDR_THREAD
  64. #  define BOOST_NO_CXX11_HDR_TUPLE
  65. #  define BOOST_NO_CXX11_HDR_TYPE_TRAITS
  66. #  define BOOST_NO_CXX11_HDR_TYPEINDEX
  67. #  define BOOST_NO_CXX11_HDR_UNORDERED_MAP
  68. #  define BOOST_NO_CXX11_HDR_UNORDERED_SET
  69. #  define BOOST_NO_CXX11_NUMERIC_LIMITS
  70. #  define BOOST_NO_CXX11_ALLOCATOR
  71. #  define BOOST_NO_CXX11_ATOMIC_SMART_PTR
  72. #  define BOOST_NO_CXX11_SMART_PTR
  73. #  define BOOST_NO_CXX11_HDR_FUNCTIONAL
  74. #  define BOOST_NO_CXX11_HDR_ATOMIC
  75. #  define BOOST_NO_CXX11_STD_ALIGN
  76. #  define BOOST_NO_CXX11_ADDRESSOF
  77.  
  78. #if defined(__has_include)
  79. #if !__has_include(<shared_mutex>)
  80. #  define BOOST_NO_CXX14_HDR_SHARED_MUTEX
  81. #elif __cplusplus < 201402
  82. #  define BOOST_NO_CXX14_HDR_SHARED_MUTEX
  83. #endif
  84. #else
  85. #  define BOOST_NO_CXX14_HDR_SHARED_MUTEX
  86. #endif
  87.  
  88. #define BOOST_STDLIB "Metrowerks Standard Library version " BOOST_STRINGIZE(__MSL_CPP__)
  89.  
downloadmsl.hpp Source code - Download mars Source code
Related Source Codes/Software:
Hero - Elegant transition library for iOS & tvOS 2017-06-09
deep-photo-styletransfer - Code and data for paper "Deep Photo Style Transfer... 2017-06-09
mastodon - A GNU Social-compatible microblogging server ... 2017-06-09
plyr - A simple HTML5, YouTube and Vimeo player ... 2017-06-08
prepack - Prepack is a partial evaluator for JavaScript. Pre... 2017-06-08
Public-APIs - 2017-06-09
lottie-ios - An iOS library to natively render After Effects ve... 2017-06-09
Awesome-Hacking - A collection of various awesome lists for hackers,... 2017-06-09
algorithms - Minimal examples of data structures and algorithms... 2017-06-10
lectures - Oxford Deep NLP 2017 course 2017-06-10
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top