Realistic 3D camera system
3D camera system components
v6_only.hpp
Go to the documentation of this file.
1 //
2 // ip/v6_only.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_IP_V6_ONLY_HPP
12 #define ASIO_IP_V6_ONLY_HPP
13 
14 #if defined(_MSC_VER) && (_MSC_VER >= 1200)
15 # pragma once
16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17 
18 #include "asio/detail/config.hpp"
20 
22 
23 namespace asio {
24 namespace ip {
25 
28 
53 #if defined(GENERATING_DOCUMENTATION)
54 typedef implementation_defined v6_only;
55 #elif defined(IPV6_V6ONLY)
57  IPPROTO_IPV6, IPV6_V6ONLY> v6_only;
58 #else
62 #endif
63 
64 } // namespace ip
65 } // namespace asio
66 
68 
69 #endif // ASIO_IP_V6_ONLY_HPP
asio::detail::socket_option::boolean< asio::detail::custom_socket_option_level, asio::detail::always_fail_option > v6_only
Definition: v6_only.hpp:61
const int custom_socket_option_level
const int always_fail_option