C++ 参考手册

位置:首页 > > std::experimental::ranges::IndirectUnaryInvocable, std::experimental::ranges::IndirectRegularUnaryInvocable

定义于头文件 <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)
本节未完成
原因:添加描述和额外通告