From Jason Turner

[range.adjacent.overview]

Diff to HTML by rtfpessoa

tmp/tmpo08tmbzy/{from.md → to.md} RENAMED
@@ -8,11 +8,12 @@ resulting view is empty.
8
  The name `views::adjacent<N>` denotes a range adaptor object
9
  [[range.adaptor.object]]. Given a subexpression `E` and a constant
10
  expression `N`, the expression `views::adjacent<N>(E)` is
11
  expression-equivalent to
12
 
13
- - `((void)E, auto(views::empty<tuple<>>))` if `N` is equal to `0`,
 
14
  - otherwise, `adjacent_view<views::all_t<decltype((E))>, N>(E)`.
15
 
16
  [*Example 1*:
17
 
18
  ``` cpp
 
8
  The name `views::adjacent<N>` denotes a range adaptor object
9
  [[range.adaptor.object]]. Given a subexpression `E` and a constant
10
  expression `N`, the expression `views::adjacent<N>(E)` is
11
  expression-equivalent to
12
 
13
+ - `((void)E, auto(views::empty<tuple<>>))` if `N` is equal to `0` and
14
+ `decltype((E))` models `forward_range`,
15
  - otherwise, `adjacent_view<views::all_t<decltype((E))>, N>(E)`.
16
 
17
  [*Example 1*:
18
 
19
  ``` cpp