std::experimental::ranges::IndirectUnaryInvocable, std::experimental::ranges::IndirectRegularUnaryInvocable

来自cppreference.com
< cpp‎ | experimental‎ | ranges
 
 
技术规范
文件系统库 (文件系统 TS)
库基础 (库基础 TS)
库基础 2 (库基础 TS v2)
并行扩展 (并行 TS)
并行扩展 2 (并行 TS v2)
并发扩展 (并发 TS)
概念 (概念 TS)
范围 (范围 TS)
数学特殊函数 (特殊函数 TR)
 
 
迭代器库
迭代器概念
间接可调用概念
IndirectUnaryInvocableIndirectRegularUnaryInvocable
                                                  
                                                  
                                                  
常用算法要求
                                                  
概念工具
迭代器工具及运算
迭代器特性
迭代器适配器
流迭代器
 
定义于头文件 <experimental/ranges/iterator>
template <class F, class I>

concept bool IndirectUnaryInvocable =
  ranges::Readable<I> && ranges::CopyConstructible<F> &&
  ranges::Invocable<F&, ranges::value_type_t<I>&> &&
  ranges::Invocable<F&, ranges::reference_t<I>> &&
  ranges::Invocable<F&, ranges::iter_common_reference_t<I>> &&
  ranges::CommonReference<
      std::result_of_t<F&(ranges::value_type_t<I>&)>,

      std::result_of_t<F&(ranges::reference_t<I>&&)>>;
(范围 TS)
template <class F, class I>

concept bool IndirectRegularUnaryInvocable =
  ranges::Readable<I> && ranges::CopyConstructible<F> &&
  ranges::RegularInvocable<F&, ranges::value_type_t<I>&> &&
  ranges::RegularInvocable<F&, ranges::reference_t<I>> &&
  ranges::RegularInvocable<F&, ranges::iter_common_reference_t<I>> &&
  ranges::CommonReference<
      std::result_of_t<F&(ranges::value_type_t<I>&)>,

      std::result_of_t<F&(ranges::reference_t<I>&&)>>;
(范围 TS)