swift
fcbfc49e - [cxx-interop] Allow removing elements from `std::vector`

Commit
1 year ago
[cxx-interop] Allow removing elements from `std::vector` This adds `func remove(at index: Int)` to all instantiations of `std::vector` via an extension for `protocol CxxVector`. The original C++ method `std::vector::erase` is not visible in Swift because all of its overloads return unsafe iterators. rdar://113704853
Author
Committer
Parents
Loading