We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0164dd commit 1745c98Copy full SHA for 1745c98
stdlib/public/Cxx/CxxSequence.swift
@@ -40,13 +40,15 @@ extension UnsafeMutablePointer: UnsafeCxxInputIterator {}
40
extension Optional: UnsafeCxxInputIterator where Wrapped: UnsafeCxxInputIterator {
41
public typealias Pointee = Wrapped.Pointee
42
43
+ @inlinable
44
public var pointee: Pointee {
45
if let value = self {
46
return value.pointee
47
}
48
fatalError("Could not dereference nullptr")
49
50
51
52
public func successor() -> Self {
53
54
return value.successor()
0 commit comments