swift
8d7d0efe - [cxx-interop] Add `UnsafeCxxMutableInputIterator` protocol

Commit
2 years ago
[cxx-interop] Add `UnsafeCxxMutableInputIterator` protocol This is an inheritor of the existing `UnsafeCxxInputIterator` protocol, with the only difference being the ability to mutate `var pointee` via a non-const `operator*()`. This is needed to support mutable subscripts for `std::map` via `CxxDictionary`. rdar://105399019
Author
Committer
Parents
Loading