// // is_contiguous_iterator.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef BOOST_ASIO_IS_CONTIGUOUS_ITERATOR_HPP #define BOOST_ASIO_IS_CONTIGUOUS_ITERATOR_HPP #if defined(_MSC_VER) && (_MSC_VER >= 1200) # pragma once #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) #include #include #include #include namespace boost { namespace asio { /// The is_contiguous_iterator class is a traits class that may be used to /// determine whether a type is a contiguous iterator. template struct is_contiguous_iterator : #if defined(BOOST_ASIO_HAS_STD_CONCEPTS) \ || defined(GENERATING_DOCUMENTATION) integral_constant > #else // defined(BOOST_ASIO_HAS_STD_CONCEPTS) // || defined(GENERATING_DOCUMENTATION) is_pointer #endif // defined(BOOST_ASIO_HAS_STD_CONCEPTS) // || defined(GENERATING_DOCUMENTATION) { }; } // namespace asio } // namespace boost #include #endif // BOOST_ASIO_IS_CONTIGUOUS_ITERATOR_HPP