Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 09:43:47

0001 /*
0002  * Distributed under the Boost Software License, Version 1.0.
0003  * (See accompanying file LICENSE_1_0.txt or copy at
0004  * http://www.boost.org/LICENSE_1_0.txt)
0005  *
0006  * Copyright (c) 2014 Andrey Semashev
0007  */
0008 /*!
0009  * \file   atomic/detail/core_operations.hpp
0010  *
0011  * This header defines core atomic operations.
0012  */
0013 
0014 #ifndef BOOST_ATOMIC_DETAIL_CORE_OPERATIONS_HPP_INCLUDED_
0015 #define BOOST_ATOMIC_DETAIL_CORE_OPERATIONS_HPP_INCLUDED_
0016 
0017 #include <boost/atomic/detail/config.hpp>
0018 #include <boost/atomic/detail/platform.hpp>
0019 #include <boost/atomic/detail/core_arch_operations.hpp>
0020 #include <boost/atomic/detail/core_operations_fwd.hpp>
0021 
0022 #if defined(BOOST_ATOMIC_DETAIL_CORE_BACKEND_HEADER)
0023 #include BOOST_ATOMIC_DETAIL_CORE_BACKEND_HEADER(boost/atomic/detail/core_ops_)
0024 #endif
0025 
0026 #include <boost/atomic/detail/header.hpp>
0027 
0028 #ifdef BOOST_HAS_PRAGMA_ONCE
0029 #pragma once
0030 #endif
0031 
0032 namespace boost {
0033 namespace atomics {
0034 namespace detail {
0035 
0036 //! Default specialization that falls back to architecture-specific implementation
0037 template< std::size_t Size, bool Signed, bool Interprocess >
0038 struct core_operations :
0039     public core_arch_operations< Size, Signed, Interprocess >
0040 {
0041 };
0042 
0043 } // namespace detail
0044 } // namespace atomics
0045 } // namespace boost
0046 
0047 #include <boost/atomic/detail/footer.hpp>
0048 
0049 #endif // BOOST_ATOMIC_DETAIL_CORE_OPERATIONS_HPP_INCLUDED_