We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 075f072 commit 362d095Copy full SHA for 362d095
reference/ranges/adjacent_view.md
@@ -11,7 +11,10 @@ namespace std::ranges {
11
class adjacent_view : public view_interface<adjacent_view<V, N>> {…… }; // (1)
12
13
namespace views {
14
+ template<std::size_t N>
15
inline constexpr /*unspecified*/ adjacent = /*unspecified*/; // (2)
16
+
17
+ inline constexpr auto pairwise = adjacent<2>; // (3)
18
}
19
20
```
@@ -25,7 +28,8 @@ namespace std::ranges {
25
28
`N` が元となるRangeの要素数より大きい場合、この[`view`](view.md)は空である。
26
29
27
30
- (1): `adjacent_view`のクラス定義
-- (2): `adjacent_view`を生成するカスタマイゼーションポイントオブジェクト
31
+- (2): `adjacent_view`を生成するカスタマイゼーションポイントオブジェクト(変数テンプレート)
32
+- (3): `adjacent<2>` の別名
33
34
### Rangeコンセプト
35
0 commit comments