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) 2014 Andrey Semashev
7  */
8 /*!
9  * \file   atomic/detail/core_operations.hpp
10  *
11  * This header defines core atomic operations.
12  */
13 
14 #ifndef BOOST_ATOMIC_DETAIL_CORE_OPERATIONS_HPP_INCLUDED_
15 #define BOOST_ATOMIC_DETAIL_CORE_OPERATIONS_HPP_INCLUDED_
16 
17 #include <boost/atomic/detail/config.hpp>
18 #include <boost/atomic/detail/platform.hpp>
19 #include <boost/atomic/detail/core_arch_operations.hpp>
20 #include <boost/atomic/detail/core_operations_fwd.hpp>
21 
22 #if defined(BOOST_ATOMIC_DETAIL_CORE_BACKEND_HEADER)
23 #include BOOST_ATOMIC_DETAIL_CORE_BACKEND_HEADER(boost/atomic/detail/core_ops_)
24 #endif
25 
26 #include <boost/atomic/detail/header.hpp>
27 
28 #ifdef BOOST_HAS_PRAGMA_ONCE
29 #pragma once
30 #endif
31 
32 namespace boost {
33 namespace atomics {
34 namespace detail {
35 
36 //! Default specialization that falls back to architecture-specific implementation
37 template< std::size_t Size, bool Signed, bool Interprocess >
38 struct core_operations :
39     public core_arch_operations< Size, Signed, Interprocess >
40 {
41 };
42 
43 } // namespace detail
44 } // namespace atomics
45 } // namespace boost
46 
47 #include <boost/atomic/detail/footer.hpp>
48 
49 #endif // BOOST_ATOMIC_DETAIL_CORE_OPERATIONS_HPP_INCLUDED_
50