Path: blob/main/contrib/llvm-project/libcxx/include/__iterator/mergeable.h
35233 views
// -*- C++ -*-1//===----------------------------------------------------------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//89#ifndef _LIBCPP___ITERATOR_MERGEABLE_H10#define _LIBCPP___ITERATOR_MERGEABLE_H1112#include <__config>13#include <__functional/identity.h>14#include <__functional/ranges_operations.h>15#include <__iterator/concepts.h>16#include <__iterator/projected.h>1718#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)19# pragma GCC system_header20#endif2122_LIBCPP_BEGIN_NAMESPACE_STD2324#if _LIBCPP_STD_VER >= 202526template <class _Input1,27class _Input2,28class _Output,29class _Comp = ranges::less,30class _Proj1 = identity,31class _Proj2 = identity>32concept mergeable =33input_iterator<_Input1> && input_iterator<_Input2> && weakly_incrementable<_Output> &&34indirectly_copyable<_Input1, _Output> && indirectly_copyable<_Input2, _Output> &&35indirect_strict_weak_order<_Comp, projected<_Input1, _Proj1>, projected<_Input2, _Proj2>>;3637#endif // _LIBCPP_STD_VER >= 203839_LIBCPP_END_NAMESPACE_STD4041#endif // _LIBCPP___ITERATOR_MERGEABLE_H424344