From Jason Turner

[class.slice]

Diff to HTML by rtfpessoa

tmp/tmpm2uro0xi/{from.md → to.md} RENAMED
@@ -15,11 +15,11 @@ namespace std {
15
  };
16
  }
17
  ```
18
 
19
  The `slice` class represents a BLAS-like slice from an array. Such a
20
- slice is specified by a starting index, a length, and a stride.[^14]
21
 
22
  #### `slice` constructors <a id="cons.slice">[[cons.slice]]</a>
23
 
24
  ``` cpp
25
  slice();
@@ -30,12 +30,12 @@ slice(const slice&);
30
  The default constructor is equivalent to `slice(0, 0, 0)`. A default
31
  constructor is provided only to permit the declaration of arrays of
32
  slices. The constructor with arguments for a slice takes a start,
33
  length, and stride parameter.
34
 
35
- `slice(3, 8, 2)` constructs a slice which selects elements 3, 5, 7, ...
36
- 17 from an array.
37
 
38
  #### `slice` access functions <a id="slice.access">[[slice.access]]</a>
39
 
40
  ``` cpp
41
  size_t start() const;
 
15
  };
16
  }
17
  ```
18
 
19
  The `slice` class represents a BLAS-like slice from an array. Such a
20
+ slice is specified by a starting index, a length, and a stride.[^12]
21
 
22
  #### `slice` constructors <a id="cons.slice">[[cons.slice]]</a>
23
 
24
  ``` cpp
25
  slice();
 
30
  The default constructor is equivalent to `slice(0, 0, 0)`. A default
31
  constructor is provided only to permit the declaration of arrays of
32
  slices. The constructor with arguments for a slice takes a start,
33
  length, and stride parameter.
34
 
35
+ [*Example 1*: `slice(3, 8, 2)` constructs a slice which selects
36
+ elements 3, 5, 7, ... 17 from an array. — *end example*]
37
 
38
  #### `slice` access functions <a id="slice.access">[[slice.access]]</a>
39
 
40
  ``` cpp
41
  size_t start() const;