From Jason Turner

[class.slice]

Diff to HTML by rtfpessoa

tmp/tmpnge8ftws/{from.md → to.md} RENAMED
@@ -6,10 +6,11 @@
6
  namespace std {
7
  class slice {
8
  public:
9
  slice();
10
  slice(size_t, size_t, size_t);
 
11
 
12
  size_t start() const;
13
  size_t size() const;
14
  size_t stride() const;
15
 
@@ -17,18 +18,17 @@ namespace std {
17
  };
18
  }
19
  ```
20
 
21
  The `slice` class represents a BLAS-like slice from an array. Such a
22
- slice is specified by a starting index, a length, and a stride.[^12]
23
 
24
  #### Constructors <a id="cons.slice">[[cons.slice]]</a>
25
 
26
  ``` cpp
27
  slice();
28
  slice(size_t start, size_t length, size_t stride);
29
- slice(const slice&);
30
  ```
31
 
32
  The default constructor is equivalent to `slice(0, 0, 0)`. A default
33
  constructor is provided only to permit the declaration of arrays of
34
  slices. The constructor with arguments for a slice takes a start,
 
6
  namespace std {
7
  class slice {
8
  public:
9
  slice();
10
  slice(size_t, size_t, size_t);
11
+ slice(const slice&);
12
 
13
  size_t start() const;
14
  size_t size() const;
15
  size_t stride() const;
16
 
 
18
  };
19
  }
20
  ```
21
 
22
  The `slice` class represents a BLAS-like slice from an array. Such a
23
+ slice is specified by a starting index, a length, and a stride.[^13]
24
 
25
  #### Constructors <a id="cons.slice">[[cons.slice]]</a>
26
 
27
  ``` cpp
28
  slice();
29
  slice(size_t start, size_t length, size_t stride);
 
30
  ```
31
 
32
  The default constructor is equivalent to `slice(0, 0, 0)`. A default
33
  constructor is provided only to permit the declaration of arrays of
34
  slices. The constructor with arguments for a slice takes a start,