fix doc example typo
[boost.git] / boost / memory_order.hpp
blob2524e8aa43c4cfeb4965e96aa01335df4580e045
1 #ifndef BOOST_MEMORY_ORDER_HPP_INCLUDED
2 #define BOOST_MEMORY_ORDER_HPP_INCLUDED
4 // MS compatible compilers support #pragma once
6 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
7 # pragma once
8 #endif
10 // boost/memory_order.hpp
12 // Defines enum boost::memory_order per the C++0x working draft
14 // Copyright (c) 2008 Peter Dimov
16 // Distributed under the Boost Software License, Version 1.0.
17 // See accompanying file LICENSE_1_0.txt or copy at
18 // http://www.boost.org/LICENSE_1_0.txt)
21 namespace boost
24 enum memory_order
26 memory_order_relaxed = 0,
27 memory_order_acquire = 1,
28 memory_order_release = 2,
29 memory_order_acq_rel = 3, // acquire | release
30 memory_order_seq_cst = 7 // acq_rel | 4
33 } // namespace boost
35 #endif // #ifndef BOOST_MEMORY_ORDER_HPP_INCLUDED