get -- subrangeのタプルインターフェースを追加 #713

1 · cpprefjp · March 23, 2022, 4:05 a.m.
diff --git a/reference/ranges/subrange/get.md b/reference/ranges/subrange/get.md new file mode 100644 index 000000000..588e78d39 --- /dev/null +++ b/reference/ranges/subrange/get.md @@ -0,0 +1,76 @@ +# get +* ranges[meta header] +* std[meta namespace] +* class template[meta id-type] +* cpp20[meta cpp] + +```cpp +namespace std::ranges { + template<size_t N, class I, class S, subrange_kind K> + requires (N < 2) + constexpr auto get(const subrange<I, S, K>& r); + + template<size_t N, class I,...