data -- <ranges> view_interfaceを追加 #713

1 · cpprefjp · Sept. 1, 2021, 5:53 p.m.
diff --git a/reference/ranges/view_interface/data.md b/reference/ranges/view_interface/data.md new file mode 100644 index 000000000..e1f48517e --- /dev/null +++ b/reference/ranges/view_interface/data.md @@ -0,0 +1,50 @@ +# data +* ranges[meta header] +* std::ranges[meta namespace] +* view_interface[meta class] +* function[meta id-type] +* cpp20[meta cpp] + +```cpp +constexpr auto data() requires contiguous_iterator<iterator_t<D>>; // (1) +constexpr auto data() const requires contigu...