Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 626 Bytes

File metadata and controls

19 lines (16 loc) · 626 Bytes

range-with-movable-references

  • [meta exposition-only]
  • ranges[meta header]
  • concept[meta id-type]
  • cpp23[meta cpp]
template<class R>
  concept range-with-movable-references =                  // 説明専用コンセプト
    input_range<R> && move_constructible<range_reference_t<R>> &&
    move_constructible<range_rvalue_reference_t<R>>;

概要

range-with-movable-referencesは、型Rinput_rangeであり、その要素の参照と右辺値参照がムーブ構築可能であることを表す説明専用コンセプトである。

バージョン

言語

  • C++23