wait_operations_fwd.hpp 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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) 2020 Andrey Semashev
  7. */
  8. /*!
  9. * \file atomic/detail/wait_operations_fwd.hpp
  10. *
  11. * This header contains forward declaration of the \c wait_operations template.
  12. */
  13. #ifndef BOOST_ATOMIC_DETAIL_WAIT_OPERATIONS_FWD_HPP_INCLUDED_
  14. #define BOOST_ATOMIC_DETAIL_WAIT_OPERATIONS_FWD_HPP_INCLUDED_
  15. #include <cstddef>
  16. #include <boost/atomic/detail/config.hpp>
  17. #include <boost/atomic/detail/header.hpp>
  18. #ifdef BOOST_HAS_PRAGMA_ONCE
  19. #pragma once
  20. #endif
  21. namespace boost {
  22. namespace atomics {
  23. namespace detail {
  24. template<
  25. typename Base,
  26. std::size_t Size = sizeof(typename Base::storage_type),
  27. bool AlwaysLockFree = Base::is_always_lock_free,
  28. bool Interprocess = Base::is_interprocess
  29. >
  30. struct wait_operations;
  31. } // namespace detail
  32. } // namespace atomics
  33. } // namespace boost
  34. #include <boost/atomic/detail/footer.hpp>
  35. #endif // BOOST_ATOMIC_DETAIL_WAIT_OPERATIONS_FWD_HPP_INCLUDED_