swift
535a9412 - [cxx-interop] Conform `std::map` to `ExpressibleByDictionaryLiteral`

Commit
1 year ago
[cxx-interop] Conform `std::map` to `ExpressibleByDictionaryLiteral` This adds an automatic conformance for `std::map` and `std::unordered_map` to Swift's `ExpressibleByDictionaryLiteral` protocol. This makes it possible to pass a dictionary literal as an argument to a function that takes a `std::map` as parameter. rdar://137126474
Author
Parents
Loading