Files
swift-mirror/test/Interop/Cxx/stdlib/overlay/Inputs/module.modulemap
Egor Zhdan d85d2e9e75 [cxx-interop] Synthesize conformances to UnsafeCxxInputIterator
This teaches ClangImporter to synthesize conformances of C++ iterator types to `UnsafeCxxInputIterator` protocol from the `Cxx` module.

We consider a C++ type to be an iterator if it defines a subtype (usually a typedef or a using decl) called `iterator_category` that inherits from `std::input_iterator_tag`.

rdar://96235368
2022-07-20 11:44:25 +01:00

6 lines
142 B
Plaintext

module CustomSequence {
header "custom-iterator.h" // TODO: extract into another module
header "custom-sequence.h"
requires cplusplus
}