diff options
author | robot-contrib <robot-contrib@yandex-team.com> | 2022-09-24 19:38:52 +0300 |
---|---|---|
committer | robot-contrib <robot-contrib@yandex-team.com> | 2022-09-24 19:38:52 +0300 |
commit | 0082ed2a0ff9cfd4fda215c08568dce0544604f5 (patch) | |
tree | b74273274d801192eb5145ab9b21493f87c04772 /contrib/restricted/boost/core | |
parent | 702b9567dcbc49e9e7897954449ff72cf8579f01 (diff) | |
download | ydb-0082ed2a0ff9cfd4fda215c08568dce0544604f5.tar.gz |
Update contrib/restricted/boost/property_map to 1.80.0
Diffstat (limited to 'contrib/restricted/boost/core')
-rw-r--r-- | contrib/restricted/boost/core/include/boost/detail/iterator.hpp | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/contrib/restricted/boost/core/include/boost/detail/iterator.hpp b/contrib/restricted/boost/core/include/boost/detail/iterator.hpp deleted file mode 100644 index 95ec73725e..0000000000 --- a/contrib/restricted/boost/core/include/boost/detail/iterator.hpp +++ /dev/null @@ -1,43 +0,0 @@ -// (C) Copyright David Abrahams 2002. -// 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 ITERATOR_DWA122600_HPP_ -#define ITERATOR_DWA122600_HPP_ - -// This header is obsolete and deprecated. - -#include <boost/config/header_deprecated.hpp> - -BOOST_HEADER_DEPRECATED("<iterator>") - -#include <iterator> -#if defined(__SUNPRO_CC) && (defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)) -#include <cstddef> -#endif - -namespace boost -{ - -namespace detail -{ - -using std::iterator_traits; -using std::distance; - -#if defined(__SUNPRO_CC) && (defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)) -// std::distance from stlport with Oracle compiler 12.4 and 12.5 fails to deduce template parameters -// when one of the arguments is an array and the other one is a pointer. -template< typename T, std::size_t N > -inline typename std::iterator_traits< T* >::difference_type distance(T (&left)[N], T* right) -{ - return std::distance(static_cast< T* >(left), right); -} -#endif - -} // namespace detail - -} // namespace boost - -#endif // ITERATOR_DWA122600_HPP_ |