Realistic 3D camera system
3D camera system components
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
asio-1.10.6
include
asio
ip
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
"
19
#include "
asio/detail/socket_option.hpp
"
20
21
#include "
asio/detail/push_options.hpp
"
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)
56
typedef
asio::detail::socket_option::boolean
<
57
IPPROTO_IPV6, IPV6_V6ONLY>
v6_only
;
58
#else
59
typedef
asio::detail::socket_option::boolean
<
60
asio::detail::custom_socket_option_level
,
61
asio::detail::always_fail_option
>
v6_only
;
62
#endif
63
64
}
// namespace ip
65
}
// namespace asio
66
67
#include "
asio/detail/pop_options.hpp
"
68
69
#endif // ASIO_IP_V6_ONLY_HPP
asio::ip::v6_only
asio::detail::socket_option::boolean< asio::detail::custom_socket_option_level, asio::detail::always_fail_option > v6_only
Definition:
v6_only.hpp:61
config.hpp
push_options.hpp
socket_option.hpp
asio::detail::socket_option::boolean
Definition:
socket_option.hpp:32
asio::detail::custom_socket_option_level
const int custom_socket_option_level
Definition:
socket_types.hpp:395
asio::detail::always_fail_option
const int always_fail_option
Definition:
socket_types.hpp:397
pop_options.hpp
asio
Definition:
async_result.hpp:23
Generated by
1.8.11