mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
A first step towards creating safe overloads for C++ APIs using span (rdar://139074571). Note that we need to mark span as owned because it the libc++ implementation was mistakenly recognized as owned and might now rely on span methods like `data` being renamed as `__dataUnsafe`. We will change it under a new interop version. But for the time being, we want consistent behavior across stdlib versions.
20 lines
404 B
Plaintext
20 lines
404 B
Plaintext
Name: std
|
|
Functions:
|
|
- Name: abs
|
|
Availability: nonswift
|
|
AvailabilityMsg: Use the C standard library function
|
|
- Name: div
|
|
Availability: nonswift
|
|
AvailabilityMsg: Use the C standard library function
|
|
Namespaces:
|
|
- Name: std
|
|
Tags:
|
|
- Name: basic_string
|
|
SwiftImportAs: owned
|
|
- Name: vector
|
|
SwiftImportAs: owned
|
|
- Name: span
|
|
Methods:
|
|
- Name: data
|
|
SwiftName: __dataUnsafe()
|