extra_operations_fwd.hpp 893 B

1234567891011121314151617181920212223242526272829303132333435
  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) 2017 Andrey Semashev
  7. */
  8. /*!
  9. * \file atomic/detail/extra_operations_fwd.hpp
  10. *
  11. * This header contains forward declaration of the \c extra_operations template.
  12. */
  13. #ifndef BOOST_ATOMIC_DETAIL_EXTRA_OPERATIONS_FWD_HPP_INCLUDED_
  14. #define BOOST_ATOMIC_DETAIL_EXTRA_OPERATIONS_FWD_HPP_INCLUDED_
  15. #include <cstddef>
  16. #include <boost/atomic/detail/config.hpp>
  17. #ifdef BOOST_HAS_PRAGMA_ONCE
  18. #pragma once
  19. #endif
  20. namespace boost {
  21. namespace atomics {
  22. namespace detail {
  23. template< typename Base, std::size_t Size, bool Signed, bool = Base::is_always_lock_free >
  24. struct extra_operations;
  25. } // namespace detail
  26. } // namespace atomics
  27. } // namespace boost
  28. #endif // BOOST_ATOMIC_DETAIL_EXTRA_OPERATIONS_FWD_HPP_INCLUDED_