Equality comparison
| 280 | |
| 281 | /// Equality comparison |
| 282 | bool operator==(const circular_buffer& other) const { |
| 283 | if (size() != other.size()) return false; |
| 284 | for (fl::size i = 0; i < size(); ++i) { |
| 285 | if (mCore[i] != other.mCore[i]) return false; |
| 286 | } |
| 287 | return true; |
| 288 | } |
| 289 | |
| 290 | /// Inequality comparison |
| 291 | bool operator!=(const circular_buffer& other) const { |