The following snippets don't compile with AK::Vector
, but do using std::
equivalents.
const int* object = nullptr;
Vector<int*> vector;
auto it = vector.find(object);
And in web land:
JS::GCPtr<JS::Object const> object;
Vector<JS::GCPtr<JS::Object>> vector;
auto it = vector.find(object)
etc. for all iterators
It would be nice if these could compile to avoid messiness with casting of const.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too