swift
6cd4b7c2 - [cxx-interop] Make `std::string::append` usable from Swift

Comment changes are shownComment changes are hidden
Commit
1 year ago
[cxx-interop] Make `std::string::append` usable from Swift This adds a new Swift overload for `append` that takes another `std::string` as a parameter. The original C++ overload for `append` is not exposed into Swift because it returns a mutable reference `string&`. rdar://107018724
Author
Parents
  • stdlib/public/Cxx/std
    • File
      String.swift
  • test/Interop/Cxx/stdlib/overlay
    • File
      std-string-overlay.swift