C++ 参考手册

位置:首页 > > std::experimental::ranges::Readable

定义于头文件 <experimental/ranges/iterator>
template < class In >

concept bool Readable =
  requires {
    typename ranges::value_type_t<In>;
    typename ranges::reference_t<In>;
    typename ranges::rvalue_reference_t<In>;
  } &&
  ranges::CommonReference<
    ranges::reference_t<In>&&, ranges::value_type_t<In>&
  > &&
  ranges::CommonReference<
    ranges::reference_t<In>&&, ranges::rvalue_reference_t<In>&&
  > &&
  ranges::CommonReference<
    ranges::rvalue_reference_t<In>&&, const ranges::value_type_t<In>&

  >;
(范围 TS)

概念 Readable 为通过应用 operator* 可读的类型,例如指针、智能指针和迭代器所满足。