PHP 8.3.31
Preview: interoperable.hpp Size: 1.27 KB
/opt/cpanel/ea-ruby27/src/passenger-release-6.1.2/src/cxx_supportlib/vendor-modified/boost/iterator/interoperable.hpp

// (C) Copyright David Abrahams 2002.
// (C) Copyright Jeremy Siek    2002.
// (C) Copyright Thomas Witt    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 BOOST_INTEROPERABLE_23022003THW_HPP
#define BOOST_INTEROPERABLE_23022003THW_HPP

#include <type_traits>
#include <boost/iterator/detail/type_traits/disjunction.hpp>

namespace boost {
namespace iterators {

//
// Meta function that determines whether two
// iterator types are considered interoperable.
//
// Two iterator types A,B are considered interoperable if either
// A is convertible to B or vice versa.
// This interoperability definition is in sync with the
// standards requirements on constant/mutable container
// iterators (23.1 [lib.container.requirements]).
//
// For compilers that don't support is_convertible
// is_interoperable gives false positives. See comments
// on operator implementation for consequences.
//
template< typename A, typename B >
struct is_interoperable :
    public detail::disjunction< std::is_convertible< A, B >, std::is_convertible< B, A > >
{
};

} // namespace iterators

using iterators::is_interoperable;

} // namespace boost

#endif // BOOST_INTEROPERABLE_23022003THW_HPP

Directory Contents

Dirs: 1 × Files: 14

Name Size Perms Modified Actions
detail DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
1.62 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
1.58 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
2.58 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
1.27 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
3.96 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
6.60 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
3.51 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
7.07 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
29.22 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
1.69 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
935 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
2.03 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
1.97 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
4.80 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).