123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- #ifndef ASIO_IS_CONTIGUOUS_ITERATOR_HPP
- #define ASIO_IS_CONTIGUOUS_ITERATOR_HPP
- #if defined(_MSC_VER) && (_MSC_VER >= 1200)
- # pragma once
- #endif
- #include "asio/detail/config.hpp"
- #include <iterator>
- #include "asio/detail/type_traits.hpp"
- #include "asio/detail/push_options.hpp"
- namespace asio {
- template <typename T>
- struct is_contiguous_iterator :
- #if defined(ASIO_HAS_STD_CONCEPTS) \
- || defined(GENERATING_DOCUMENTATION)
- integral_constant<bool, std::contiguous_iterator<T>>
- #else
-
- is_pointer<T>
- #endif
-
- {
- };
- }
- #include "asio/detail/pop_options.hpp"
- #endif
|