• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 // detail/null_fenced_block.hpp
3 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 //
5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 //
7 // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 //
10 
11 #ifndef ASIO_DETAIL_NULL_FENCED_BLOCK_HPP
12 #define ASIO_DETAIL_NULL_FENCED_BLOCK_HPP
13 
14 
15 #include "asio/detail/push_options.hpp"
16 
17 namespace asio {
18 namespace detail {
19 
20 class null_fenced_block
21   : private noncopyable
22 {
23 public:
24   enum half_or_full_t { half, full };
25 
26   // Constructor.
null_fenced_block(half_or_full_t)27   explicit null_fenced_block(half_or_full_t)
28   {
29   }
30 
31   // Destructor.
~null_fenced_block()32   ~null_fenced_block()
33   {
34   }
35 };
36 
37 } // namespace detail
38 } // namespace asio
39 
40 #include "asio/detail/pop_options.hpp"
41 
42 #endif // ASIO_DETAIL_NULL_FENCED_BLOCK_HPP
43