From Jason Turner

[bitset.members]

Diff to HTML by rtfpessoa

tmp/tmpyr2djj9d/{from.md → to.md} RENAMED
@@ -134,22 +134,22 @@ position.
134
 
135
  ``` cpp
136
  constexpr bool operator[](size_t pos) const;
137
  ```
138
 
139
- *Preconditions:* `pos` is valid.
140
 
141
  *Returns:* `true` if the bit at position `pos` in `*this` has the value
142
  one, otherwise `false`.
143
 
144
  *Throws:* Nothing.
145
 
146
  ``` cpp
147
  constexpr bitset::reference operator[](size_t pos);
148
  ```
149
 
150
- *Preconditions:* `pos` is valid.
151
 
152
  *Returns:* An object of type `bitset::reference` such that
153
  `(*this)[pos] == this->test(pos)`, and such that `(*this)[pos] = val` is
154
  equivalent to `this->set(pos, val)`.
155
 
 
134
 
135
  ``` cpp
136
  constexpr bool operator[](size_t pos) const;
137
  ```
138
 
139
+ `pos < size()` is `true`.
140
 
141
  *Returns:* `true` if the bit at position `pos` in `*this` has the value
142
  one, otherwise `false`.
143
 
144
  *Throws:* Nothing.
145
 
146
  ``` cpp
147
  constexpr bitset::reference operator[](size_t pos);
148
  ```
149
 
150
+ `pos < size()` is `true`.
151
 
152
  *Returns:* An object of type `bitset::reference` such that
153
  `(*this)[pos] == this->test(pos)`, and such that `(*this)[pos] = val` is
154
  equivalent to `this->set(pos, val)`.
155