[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:
Alex Lorenz
2023-03-03 14:14:43 -08:00
parent a0e1810f62
commit 13a63f4b05
6 changed files with 97 additions and 54 deletions

View File

@@ -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);