std::experimental::ranges::Mergeable

< cpp‎ | experimental‎ | ranges
 
 
技术规范
文件系统库 (文件系统 TS)
库基础 (库基础 TS)
库基础 2 (库基础 TS v2)
库基础 3 (库基础 TS v3)
并行扩展 (并行 TS)
并行扩展 2 (并行 TS v2)
并发扩展 (并发 TS)
概念 (概念 TS)
范围 (范围 TS)
数学特殊函数 (特殊函数 TR)
 
 
迭代器库
迭代器概念
间接可调用概念
                                                  
                                                  
                                                  
常用算法要求
                                                  
Mergeable
概念工具
迭代器工具及运算
迭代器特性
迭代器适配器
流迭代器
 
template < class I1, class I2, class Out, class R = ranges::less<>,

           class P1 = ranges::identity, class P2 = ranges::identity >
concept bool Mergeable =
  ranges::InputIterator<I1> &&
  ranges::InputIterator<I2> &&
  ranges::WeaklyIncrementable<Out> &&
  ranges::IndirectlyCopyable<I1, Out> &&
  ranges::IndirectlyCopyable<I2, Out> &&
  ranges::IndirectStrictWeakOrder<
    R, ranges::projected<I1, P1>, ranges::projected<I2, P2>

  >;
(范围 TS)

Mergeable 概念指定通过复制元素,归并排序序列到输出序列中的算法(例如 ranges::merge )的常用要求。