mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[interop][SwiftToCxx] incorporate argument labels into Stdlib API names in C++
This allows easier use and more wider API exposure from the Swift stdlib In the future, all functions and method should incorporate argument labels, but it's not yet clear how
This commit is contained in:
@@ -53,7 +53,7 @@ int main() {
|
||||
assert(val.getCapacity() >= 1);
|
||||
auto zeroInt = val[0];
|
||||
assert(zeroInt == -11);
|
||||
auto firstInt = val.remove(0);
|
||||
auto firstInt = val.removeAt(0);
|
||||
assert(firstInt == -11);
|
||||
assert(val.getCount() == 0);
|
||||
UseArray::printArray(val);
|
||||
|
||||
Reference in New Issue
Block a user