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 14 #ifndef BOOST_ATOMIC_DETAIL_WAIT_OPERATIONS_FWD_HPP_INCLUDED_ 15 #define BOOST_ATOMIC_DETAIL_WAIT_OPERATIONS_FWD_HPP_INCLUDED_ 16 17 #include <cstddef> 18 #include <boost/atomic/detail/config.hpp> 19 #include <boost/atomic/detail/header.hpp> 20 21 #ifdef BOOST_HAS_PRAGMA_ONCE 22 #pragma once 23 #endif 24 25 namespace boost { 26 namespace atomics { 27 namespace detail { 28 29 template< 30 typename Base, 31 std::size_t Size = sizeof(typename Base::storage_type), 32 bool AlwaysLockFree = Base::is_always_lock_free, 33 bool Interprocess = Base::is_interprocess 34 > 35 struct wait_operations; 36 37 } // namespace detail 38 } // namespace atomics 39 } // namespace boost 40 41 #include <boost/atomic/detail/footer.hpp> 42 43 #endif // BOOST_ATOMIC_DETAIL_WAIT_OPERATIONS_FWD_HPP_INCLUDED_ 44