BVB Source Codes

mars Show atomic.hpp Source code

Return Download mars: download atomic.hpp Source code - Download mars Source code - Type:.hpp
  1. /*
  2.  * Distributed under the Boost Software License, Version 1.0.
  3.  * (See accompanying file LICENSE_1_0.txt or copy at
  4.  * http://www.boost.org/LICENSE_1_0.txt)
  5.  *
  6.  * Copyright (c) 2011 Helge Bahmann
  7.  * Copyright (c) 2013 Tim Blechmann
  8.  * Copyright (c) 2014 Andrey Semashev
  9.  */
  10. /*!
  11.  * \file   atomic/atomic.hpp
  12.  *
  13.  * This header contains definition of \c atomic template and \c atomic_flag.
  14.  */
  15.  
  16. #ifndef BOOST_ATOMIC_ATOMIC_HPP_INCLUDED_
  17. #define BOOST_ATOMIC_ATOMIC_HPP_INCLUDED_
  18.  
  19. #include <boost/atomic/capabilities.hpp>
  20. #include <boost/atomic/fences.hpp>
  21. #include <boost/atomic/atomic_flag.hpp>
  22. #include <boost/atomic/detail/atomic_template.hpp>
  23. #include <boost/atomic/detail/operations.hpp>
  24.  
  25. #ifdef BOOST_HAS_PRAGMA_ONCE
  26. #pragma once
  27. #endif
  28.  
  29. namespace mars_boost {} namespace boost = mars_boost; namespace mars_boost {
  30.  
  31. using atomics::atomic;
  32.  
  33. using atomics::atomic_char;
  34. using atomics::atomic_uchar;
  35. using atomics::atomic_schar;
  36. using atomics::atomic_uint8_t;
  37. using atomics::atomic_int8_t;
  38. using atomics::atomic_ushort;
  39. using atomics::atomic_short;
  40. using atomics::atomic_uint16_t;
  41. using atomics::atomic_int16_t;
  42. using atomics::atomic_uint;
  43. using atomics::atomic_int;
  44. using atomics::atomic_uint32_t;
  45. using atomics::atomic_int32_t;
  46. using atomics::atomic_ulong;
  47. using atomics::atomic_long;
  48. using atomics::atomic_uint64_t;
  49. using atomics::atomic_int64_t;
  50. #ifdef BOOST_HAS_LONG_LONG
  51. using atomics::atomic_ullong;
  52. using atomics::atomic_llong;
  53. #endif
  54. using atomics::atomic_address;
  55. using atomics::atomic_bool;
  56. using atomics::atomic_wchar_t;
  57. #if !defined(BOOST_NO_CXX11_CHAR16_T)
  58. using atomics::atomic_char16_t;
  59. #endif
  60. #if !defined(BOOST_NO_CXX11_CHAR32_T)
  61. using atomics::atomic_char32_t;
  62. #endif
  63.  
  64. using atomics::atomic_int_least8_t;
  65. using atomics::atomic_uint_least8_t;
  66. using atomics::atomic_int_least16_t;
  67. using atomics::atomic_uint_least16_t;
  68. using atomics::atomic_int_least32_t;
  69. using atomics::atomic_uint_least32_t;
  70. using atomics::atomic_int_least64_t;
  71. using atomics::atomic_uint_least64_t;
  72. using atomics::atomic_int_fast8_t;
  73. using atomics::atomic_uint_fast8_t;
  74. using atomics::atomic_int_fast16_t;
  75. using atomics::atomic_uint_fast16_t;
  76. using atomics::atomic_int_fast32_t;
  77. using atomics::atomic_uint_fast32_t;
  78. using atomics::atomic_int_fast64_t;
  79. using atomics::atomic_uint_fast64_t;
  80. using atomics::atomic_intmax_t;
  81. using atomics::atomic_uintmax_t;
  82.  
  83. using atomics::atomic_size_t;
  84. using atomics::atomic_ptrdiff_t;
  85.  
  86. #if defined(BOOST_HAS_INTPTR_T)
  87. using atomics::atomic_intptr_t;
  88. using atomics::atomic_uintptr_t;
  89. #endif
  90.  
  91. } // namespace mars_boost
  92.  
  93. #endif // BOOST_ATOMIC_ATOMIC_HPP_INCLUDED_
  94.  
downloadatomic.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