Files
swift-mirror/stdlib/public/Cxx/std/std.apinotes
Gabor Horvath b6cc118f71 [cxx-interop] Explicit conversions between Swift and C++ spans
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.
2024-12-13 16:01:02 +00:00

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()