File indexing completed on 2025-01-30 09:33:45
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef BOOST_ASIO_IS_CONTIGUOUS_ITERATOR_HPP
0012 #define BOOST_ASIO_IS_CONTIGUOUS_ITERATOR_HPP
0013
0014 #if defined(_MSC_VER) && (_MSC_VER >= 1200)
0015 # pragma once
0016 #endif
0017
0018 #include <boost/asio/detail/config.hpp>
0019 #include <iterator>
0020 #include <boost/asio/detail/type_traits.hpp>
0021
0022 #include <boost/asio/detail/push_options.hpp>
0023
0024 namespace boost {
0025 namespace asio {
0026
0027
0028
0029 template <typename T>
0030 struct is_contiguous_iterator :
0031 #if defined(BOOST_ASIO_HAS_STD_CONCEPTS) \
0032 || defined(GENERATING_DOCUMENTATION)
0033 integral_constant<bool, std::contiguous_iterator<T>>
0034 #else
0035
0036 is_pointer<T>
0037 #endif
0038
0039 {
0040 };
0041
0042 }
0043 }
0044
0045 #include <boost/asio/detail/pop_options.hpp>
0046
0047 #endif