Enable clangd integration & revamp VS Code config

This commit is contained in:
2024-10-12 16:58:00 -06:00
parent 5eb6264efd
commit 8768673d18
21 changed files with 382 additions and 167 deletions

View File

@@ -101,10 +101,10 @@ public:
return *this;
}
pointer_iterator operator+(int v) const {
return pointer_iterator(current + v);
return pointer_iterator(this->current + v);
}
pointer_iterator operator-(int v) const {
return pointer_iterator(current - v);
return pointer_iterator(this->current - v);
}
// HACK: non-const operator- is required to match vector::insert
difference_type operator-(const pointer_iterator& other) { return this->current - other.current; }