REDROOM
PHP 8.3.31
Path:
Logout
Edit File
Size: 1.58 KB
Close
/opt/cpanel/ea-ruby27/src/passenger-release-6.1.2/src/cxx_supportlib/vendor-modified/boost/iterator/distance.hpp
Text
Base64
// Copyright (C) 2017 Michel Morin. // // 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_ITERATOR_DISTANCE_HPP #define BOOST_ITERATOR_DISTANCE_HPP #include <boost/config.hpp> #include <boost/iterator/iterator_categories.hpp> #include <boost/iterator/iterator_traits.hpp> namespace boost { namespace iterators { namespace detail { template< typename SinglePassIterator > inline BOOST_CXX14_CONSTEXPR typename iterator_difference< SinglePassIterator >::type distance_impl(SinglePassIterator first, SinglePassIterator last, single_pass_traversal_tag) { typename iterator_difference< SinglePassIterator >::type n = 0; while (first != last) { ++first; ++n; } return n; } template< typename RandomAccessIterator > inline BOOST_CXX14_CONSTEXPR typename iterator_difference< RandomAccessIterator >::type distance_impl(RandomAccessIterator first, RandomAccessIterator last, random_access_traversal_tag) { return last - first; } } // namespace detail namespace distance_adl_barrier { template< typename SinglePassIterator > inline BOOST_CXX14_CONSTEXPR typename iterator_difference< SinglePassIterator >::type distance(SinglePassIterator first, SinglePassIterator last) { return detail::distance_impl(first, last, typename iterator_traversal< SinglePassIterator >::type()); } } // namespace distance_adl_barrier using namespace distance_adl_barrier; } // namespace iterators using namespace iterators::distance_adl_barrier; } // namespace boost #endif
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 1 × Files: 14
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
detail
DIR
-
drwxr-xr-x
2026-02-11 07:32:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
advance.hpp
1.62 KB
lrw-r--r--
2026-01-27 23:50:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
distance.hpp
1.58 KB
lrw-r--r--
2026-01-27 23:50:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
enable_if_convertible.hpp
2.58 KB
lrw-r--r--
2026-01-27 23:50:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
interoperable.hpp
1.27 KB
lrw-r--r--
2026-01-27 23:50:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
is_iterator.hpp
3.96 KB
lrw-r--r--
2026-01-27 23:50:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
iterator_adaptor.hpp
6.60 KB
lrw-r--r--
2026-01-27 23:50:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
iterator_categories.hpp
3.51 KB
lrw-r--r--
2026-01-27 23:50:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
iterator_concepts.hpp
7.07 KB
lrw-r--r--
2026-01-27 23:50:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
iterator_facade.hpp
29.22 KB
lrw-r--r--
2026-01-27 23:50:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
iterator_traits.hpp
1.69 KB
lrw-r--r--
2026-01-27 23:50:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
minimum_category.hpp
935 B
lrw-r--r--
2026-01-27 23:50:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
min_category.hpp
2.03 KB
lrw-r--r--
2026-01-27 23:50:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
reverse_iterator.hpp
1.97 KB
lrw-r--r--
2026-01-27 23:50:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
transform_iterator.hpp
4.80 KB
lrw-r--r--
2026-01-27 23:50:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).