mirror of
https://github.com/apple/swift-collections
synced 2026-11-27 04:54:21 +00:00
[ContainersPreview] Bump required toolchain to 6.4 for new protocols
This commit is contained in:
67 files changed
+152
-131
No files matched your search
+1
-1
@@ -120,7 +120,7 @@ let extraSettings: [SwiftSetting] = [
|
||||
.enableExperimentalFeature("BuiltinModule"),
|
||||
.enableExperimentalFeature("Lifetimes"),
|
||||
.enableExperimentalFeature("InoutLifetimeDependence"),
|
||||
.enableExperimentalFeature("SuppressedAssociatedTypesWithDefaults"),
|
||||
.enableExperimentalFeature("SuppressedAssociatedTypesWithDefaults"), // Requires Swift 6.4
|
||||
.enableExperimentalFeature("AddressableParameters"),
|
||||
.enableExperimentalFeature("AddressableTypes"),
|
||||
|
||||
|
||||
@@ -207,7 +207,7 @@ extension RigidArray where Element: ~Copyable {
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension RigidArray where Element: ~Copyable {
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Appends at most `newItemCount` items generated by a producer to the end of
|
||||
/// this array.
|
||||
///
|
||||
@@ -243,7 +243,7 @@ extension RigidArray where Element: ~Copyable {
|
||||
}
|
||||
#endif
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Appends all the items generated by a producer to the end of this deque.
|
||||
///
|
||||
/// If the deque doesn't have sufficient capacity to accommodate all the
|
||||
@@ -342,7 +342,7 @@ extension RigidArray {
|
||||
return it
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
@inlinable
|
||||
internal mutating func _append<
|
||||
Source: BorrowingSequence<Element> & ~Copyable & ~Escapable
|
||||
@@ -354,7 +354,7 @@ extension RigidArray {
|
||||
}
|
||||
#endif
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Copies the elements of a borrowing sequence to the end of this array.
|
||||
///
|
||||
/// If the array does not have sufficient capacity to hold all items in the
|
||||
@@ -396,7 +396,7 @@ extension RigidArray {
|
||||
precondition(it.next() == nil, "RigidArray capacity overflow")
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Copies the elements of a borrowing sequence to the end of this array.
|
||||
///
|
||||
/// If the array does not have sufficient capacity to hold all items in the
|
||||
|
||||
@@ -187,8 +187,15 @@ extension RigidArray where Element: ~Copyable {
|
||||
}
|
||||
|
||||
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension RigidArray.SubrangeConsumer: Drain where Element: ~Copyable {
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension RigidArray.SubrangeConsumer where Element: ~Copyable {
|
||||
@inlinable
|
||||
@_lifetime(&self)
|
||||
@_lifetime(self: copy self)
|
||||
|
||||
@@ -18,7 +18,7 @@ import ContainersPreview
|
||||
|
||||
#if compiler(>=6.2)
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension RigidArray: BorrowingSequence where Element: ~Copyable {
|
||||
public typealias BorrowingIterator = SpanIterator<Element>
|
||||
@@ -34,7 +34,7 @@ extension RigidArray: BorrowingSequence where Element: ~Copyable {
|
||||
}
|
||||
#endif
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension RigidArray: Container where Element: ~Copyable {}
|
||||
|
||||
|
||||
@@ -113,7 +113,7 @@ extension RigidArray /*where Element: Copyable*/ {
|
||||
self.append(copying: contents)
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Creates a new array with the specified capacity, holding a copy
|
||||
/// of the contents of a given container.
|
||||
///
|
||||
@@ -134,7 +134,7 @@ extension RigidArray /*where Element: Copyable*/ {
|
||||
|
||||
#endif
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Creates a new array with the specified capacity, holding a copy
|
||||
/// of the contents of a given container.
|
||||
///
|
||||
|
||||
@@ -268,7 +268,7 @@ extension RigidArray where Element: ~Copyable {
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension RigidArray where Element: ~Copyable {
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Inserts at most `newItemCount` items generated by a producer into this
|
||||
/// array, starting at the given index.
|
||||
///
|
||||
@@ -404,7 +404,7 @@ extension RigidArray {
|
||||
}
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
@_alwaysEmitIntoClient
|
||||
internal mutating func _insertContainer<
|
||||
C: Container<Element> & ~Copyable & ~Escapable
|
||||
@@ -451,7 +451,7 @@ extension RigidArray {
|
||||
_count += newCount
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Copies the elements of a container into this array at the specified
|
||||
/// position.
|
||||
///
|
||||
@@ -511,7 +511,7 @@ extension RigidArray {
|
||||
at: index, copying: newElements, newCount: newElements.count)
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Copies the elements of a container into this array at the specified
|
||||
/// position.
|
||||
///
|
||||
|
||||
@@ -408,7 +408,7 @@ extension RigidArray where Element: ~Copyable {
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension RigidArray where Element: ~Copyable {
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Replaces the specified range of elements by at most `newItemCount` items
|
||||
/// generated by a producer.
|
||||
///
|
||||
@@ -579,7 +579,7 @@ extension RigidArray {
|
||||
}
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
@inlinable
|
||||
internal mutating func _replace<
|
||||
C: Container<Element> & ~Copyable & ~Escapable
|
||||
@@ -631,7 +631,7 @@ extension RigidArray {
|
||||
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Replaces the specified subrange of elements by copying the elements of
|
||||
/// the given container.
|
||||
///
|
||||
@@ -711,7 +711,7 @@ extension RigidArray {
|
||||
newCount: newElements.count)
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Replaces the specified subrange of elements by copying the elements of
|
||||
/// the given container.
|
||||
///
|
||||
|
||||
@@ -179,7 +179,7 @@ extension UniqueArray where Element: ~Copyable {
|
||||
}
|
||||
#endif
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Appends at most `newItemCount` items generated by a producer to the end of
|
||||
/// this array.
|
||||
///
|
||||
@@ -212,7 +212,7 @@ extension UniqueArray where Element: ~Copyable {
|
||||
}
|
||||
#endif
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Appends all the items generated by a producer to the end of this deque.
|
||||
///
|
||||
/// If the deque doesn't have sufficient capacity to accommodate all the
|
||||
@@ -303,7 +303,7 @@ extension UniqueArray {
|
||||
_storage.append(copying: newElements)
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
@inlinable
|
||||
internal mutating func _append<
|
||||
Source: BorrowingSequence<Element> & ~Copyable & ~Escapable
|
||||
@@ -322,7 +322,7 @@ extension UniqueArray {
|
||||
// FIXME: Add _append(copyingContainer:), forwarding to the same method on RigidArray
|
||||
#endif
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Copies the elements of a borrowing sequence to the end of this array.
|
||||
///
|
||||
/// If the array does not have sufficient capacity to hold enough elements,
|
||||
@@ -378,7 +378,7 @@ extension UniqueArray {
|
||||
}
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Copies the elements of a container to the end of this array.
|
||||
///
|
||||
/// If the array does not have sufficient capacity to hold enough elements,
|
||||
|
||||
@@ -18,7 +18,7 @@ import ContainersPreview
|
||||
|
||||
#if compiler(>=6.2)
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension UniqueArray: BorrowingSequence where Element: ~Copyable {
|
||||
public typealias BorrowingIterator = RigidArray<Element>.BorrowingIterator
|
||||
@@ -34,7 +34,7 @@ extension UniqueArray: BorrowingSequence where Element: ~Copyable {
|
||||
}
|
||||
#endif
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension UniqueArray: Container where Element: ~Copyable {}
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@ extension UniqueArray where Element: ~Copyable {
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension UniqueArray /*where Element: Copyable*/ {
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Creates a new array with the specified initial capacity, holding a copy
|
||||
/// of the contents of a given borrowing sequence.
|
||||
///
|
||||
@@ -130,7 +130,7 @@ extension UniqueArray /*where Element: Copyable*/ {
|
||||
self.append(copying: contents)
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Creates a new array with the specified initial capacity, holding a copy
|
||||
/// of the contents of a given container.
|
||||
///
|
||||
|
||||
@@ -229,7 +229,7 @@ extension UniqueArray where Element: ~Copyable {
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension UniqueArray where Element: ~Copyable {
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Inserts at most `newItemCount` items generated by a producer into this
|
||||
/// array, starting at the given index.
|
||||
///
|
||||
@@ -366,7 +366,7 @@ extension UniqueArray {
|
||||
_storage.insert(copying: newElements, at: index)
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Copies the elements of a container into this array at the specified
|
||||
/// position.
|
||||
///
|
||||
@@ -433,7 +433,7 @@ extension UniqueArray {
|
||||
at: index, copying: newElements, newCount: newCount)
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Copies the elements of a container into this array at the specified
|
||||
/// position.
|
||||
///
|
||||
|
||||
@@ -345,7 +345,7 @@ extension UniqueArray where Element: ~Copyable {
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension UniqueArray where Element: ~Copyable {
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Replaces the specified range of elements by at most `maximumCount` items
|
||||
/// generated by a producer.
|
||||
///
|
||||
@@ -520,7 +520,7 @@ extension UniqueArray {
|
||||
_storage.replace(removing: subrange, copying: newElements)
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Replaces the specified subrange of elements by copying the elements of
|
||||
/// the given container.
|
||||
///
|
||||
@@ -610,7 +610,7 @@ extension UniqueArray {
|
||||
newCount: c)
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Replaces the specified subrange of elements by copying the elements of
|
||||
/// the given container.
|
||||
///
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if compiler(>=6.3) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension BorrowingIteratorProtocol
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
import InternalCollectionsUtilities
|
||||
#endif
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension BorrowingSequence where Self: ~Copyable & ~Escapable, Element: Equatable {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension BorrowingIteratorProtocol where Self: ~Copyable & ~Escapable {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if compiler(>=6.3) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension BorrowingIteratorProtocol where Self: ~Copyable & ~Escapable {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension BorrowingIteratorProtocol where Self: ~Copyable & ~Escapable {
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
import InternalCollectionsUtilities
|
||||
#endif
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension BorrowingIteratorProtocol where Self: ~Copyable & ~Escapable {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
#if !COLLECTIONS_SINGLE_MODULE
|
||||
import InternalCollectionsUtilities
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension BorrowingSequence where Self: ~Copyable & ~Escapable, Element: ~Copyable {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
/// A borrowing iterator that provides access to the elements of a single
|
||||
/// span through a `BorrowingIteratorProtocol` interface.
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension Span: BorrowingSequence where Element: ~Copyable {
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
import InternalCollectionsUtilities
|
||||
#endif
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension BorrowingSequence where Self: ~Copyable & ~Escapable, Element: Copyable {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
public protocol BorrowingSequence<Element>: ~Copyable, ~Escapable {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
public protocol BidirectionalContainer<Element>: Container, ~Copyable, ~Escapable {
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
import InternalCollectionsUtilities
|
||||
#endif
|
||||
|
||||
#if compiler(>=6.3) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension Container where Self: ~Copyable /*& ~Escapable*/ {
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
import InternalCollectionsUtilities
|
||||
#endif
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@available(SwiftStdlib 6.2, *)
|
||||
extension Container where Self: ~Copyable & ~Escapable {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
public protocol Container<Element>: BorrowingSequence, ~Copyable, ~Escapable {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension Container
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if compiler(>=6.3) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
public protocol DynamicContainer<Element>: RangeReplaceableContainer, ~Copyable {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
public protocol MutableContainer<Element>: PermutableContainer, ~Copyable, ~Escapable {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
public protocol PermutableContainer<Element>: Container, ~Copyable, ~Escapable {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@available(SwiftStdlib 6.2, *)
|
||||
public protocol RandomAccessContainer<Element>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
// FIXME: Figure out if it would be possible to add the container-based
|
||||
// `relative(to:)` to the existing `RangeExpression`.
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
import InternalCollectionsUtilities
|
||||
#endif
|
||||
|
||||
#if compiler(>=6.3) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
//MARK: - Protocol Definition
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if compiler(>=6.3) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension Drain where Self: ~Copyable & ~Escapable {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension Drain where Self: ~Copyable & ~Escapable {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
/// A type that supplies the values of an in-place consumable sequence through
|
||||
/// a series of `InputSpan` instances. This iterator-like construct allows
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if compiler(>=6.3) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension Producer where Self: ~Copyable & ~Escapable {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension Producer where Self: ~Copyable & ~Escapable {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension Producer where Self: ~Copyable & ~Escapable {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension Producer where Self: ~Copyable & ~Escapable {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@_alwaysEmitIntoClient
|
||||
@_transparent
|
||||
|
||||
@@ -178,7 +178,7 @@ extension RigidDeque where Element: ~Copyable {
|
||||
}
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Appends at most `newItemCount` items generated by a producer to the end of
|
||||
/// this deque.
|
||||
///
|
||||
@@ -213,7 +213,7 @@ extension RigidDeque where Element: ~Copyable {
|
||||
}
|
||||
#endif
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Appends all the items generated by a producer to the end of this deque.
|
||||
///
|
||||
/// If the target deque does not have sufficient capacity to hold all the
|
||||
@@ -306,7 +306,7 @@ extension RigidDeque /*where Element: Copyable*/ {
|
||||
}
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
@_alwaysEmitIntoClient
|
||||
internal mutating func _append<
|
||||
S: BorrowingSequence<Element> & ~Copyable & ~Escapable
|
||||
@@ -359,7 +359,7 @@ extension RigidDeque /*where Element: Copyable*/ {
|
||||
precondition(it.next() == nil, "RigidDeque capacity overflow")
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Copies the elements of a borrowing sequence to the end of this deque.
|
||||
///
|
||||
/// If the deque does not have sufficient capacity to hold all items in the
|
||||
|
||||
@@ -218,8 +218,14 @@ extension RigidDeque where Element: ~Copyable {
|
||||
}
|
||||
}
|
||||
|
||||
#if compiler(>=6.4)
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension RigidDeque.SubrangeConsumer: Drain where Element: ~Copyable {
|
||||
}
|
||||
#endif
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension RigidDeque.SubrangeConsumer where Element: ~Copyable {
|
||||
@inlinable
|
||||
@_lifetime(&self)
|
||||
@_lifetime(self: copy self)
|
||||
|
||||
@@ -21,7 +21,7 @@ import ContainersPreview
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension RigidDeque where Element: ~Copyable {
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
@frozen
|
||||
public struct BorrowingIterator: ~Escapable, BorrowingIteratorProtocol {
|
||||
@usableFromInline
|
||||
@@ -64,7 +64,7 @@ extension RigidDeque where Element: ~Copyable {
|
||||
#endif
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension RigidDeque: Container where Element: ~Copyable {}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ extension RigidDeque /*: Equatable */ where Element: Equatable /* & ~Copyable */
|
||||
guard left.count == right.count else { return false }
|
||||
guard !left.isTriviallyIdentical(to: right) else { return true }
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
return left._elementsEqual(right)
|
||||
#else
|
||||
for i in 0 ..< left.count {
|
||||
|
||||
@@ -68,7 +68,7 @@ extension RigidDeque where Element: ~Copyable {
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension RigidDeque where Element: ~Copyable {
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Creates a new rigid deque of the specified capacity, populating it with
|
||||
/// all items generated by a given producer.
|
||||
///
|
||||
@@ -119,7 +119,7 @@ extension RigidDeque /*where Element: Copyable*/ {
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension RigidDeque /*where Element: Copyable*/ {
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Creates a new deque with the specified capacity, holding a copy
|
||||
/// of the contents of a given borrowing sequence.
|
||||
///
|
||||
@@ -174,7 +174,7 @@ extension RigidDeque /*where Element: Copyable*/ {
|
||||
self.append(copying: contents)
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Creates a new deque with the specified capacity, holding a copy
|
||||
/// of the contents of a given sequence.
|
||||
///
|
||||
|
||||
@@ -208,7 +208,7 @@ extension RigidDeque where Element: ~Copyable {
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension RigidDeque where Element: ~Copyable {
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Inserts at most `newItemCount` items generated by a producer into this
|
||||
/// deque, starting at the given index.
|
||||
///
|
||||
@@ -352,7 +352,7 @@ extension RigidDeque /* where Element: Copyable */ {
|
||||
}
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
@inlinable
|
||||
internal mutating func _insertContainer<
|
||||
C: Container<Element> & ~Copyable & ~Escapable
|
||||
@@ -394,7 +394,7 @@ extension RigidDeque /* where Element: Copyable */ {
|
||||
"Broken Collection: count doesn't match contents")
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Copies the elements of a container into this deque at the specified
|
||||
/// position.
|
||||
///
|
||||
@@ -456,7 +456,7 @@ extension RigidDeque /* where Element: Copyable */ {
|
||||
at: index, copying: items, newCount: items.count)
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Copies the elements of a container into this deque at the specified
|
||||
/// position.
|
||||
///
|
||||
|
||||
@@ -182,7 +182,7 @@ extension RigidDeque where Element: ~Copyable {
|
||||
}
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Prepends at most `newItemCount` items generated by a producer to the
|
||||
/// front of this deque.
|
||||
///
|
||||
@@ -285,7 +285,7 @@ extension RigidDeque /*where Element: Copyable*/ {
|
||||
}
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
@inlinable
|
||||
internal mutating func _prepend<
|
||||
S: BorrowingSequence<Element> & ~Copyable & ~Escapable
|
||||
@@ -424,7 +424,7 @@ extension RigidDeque /*where Element: Copyable*/ {
|
||||
_handle.uncheckedPrepend(copying: items, exactCount: c)
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Copies the elements of a borrowing sequence to the end of this deque.
|
||||
///
|
||||
/// If the deque does not have sufficient capacity to hold all items in the
|
||||
|
||||
@@ -279,7 +279,7 @@ extension RigidDeque where Element: ~Copyable {
|
||||
}
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Replaces the specified range of elements by at most `newItemCount` items
|
||||
/// generated by a producer.
|
||||
///
|
||||
@@ -453,7 +453,7 @@ extension RigidDeque /* where Element: Copyable */ {
|
||||
}
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
@inlinable
|
||||
internal mutating func _replace<
|
||||
C: Container<Element> & ~Copyable & ~Escapable
|
||||
@@ -497,7 +497,7 @@ extension RigidDeque /* where Element: Copyable */ {
|
||||
}
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Replaces the specified subrange of elements by copying the elements of
|
||||
/// the given container.
|
||||
///
|
||||
@@ -573,7 +573,7 @@ extension RigidDeque /* where Element: Copyable */ {
|
||||
removing: subrange, copyingCollection: items, newCount: items.count)
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Replaces the specified subrange of elements by copying the elements of
|
||||
/// the given container.
|
||||
///
|
||||
|
||||
@@ -168,7 +168,7 @@ extension UniqueDeque where Element: ~Copyable {
|
||||
}
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Appends at most `newItemCount` items generated by a producer to the end of
|
||||
/// this deque.
|
||||
///
|
||||
@@ -201,7 +201,7 @@ extension UniqueDeque where Element: ~Copyable {
|
||||
}
|
||||
#endif
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Appends all the items generated by a producer to the end of this deque.
|
||||
///
|
||||
/// If the deque doesn't have sufficient capacity to accommodate all the
|
||||
@@ -293,7 +293,7 @@ extension UniqueDeque /*where Element: Copyable*/ {
|
||||
_storage.append(copying: items)
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
@_alwaysEmitIntoClient
|
||||
internal mutating func _append<
|
||||
S: BorrowingSequence<Element> & ~Copyable & ~Escapable
|
||||
@@ -356,7 +356,7 @@ extension UniqueDeque /*where Element: Copyable*/ {
|
||||
}
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Copies the elements of a borrowing sequence to the end of this deque.
|
||||
///
|
||||
/// If the deque doesn't have sufficient capacity to accommodate the new
|
||||
|
||||
@@ -21,7 +21,7 @@ import ContainersPreview
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension UniqueDeque where Element: ~Copyable {
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
public typealias BorrowingIterator = RigidDeque<Element>.BorrowingIterator
|
||||
|
||||
@_alwaysEmitIntoClient
|
||||
@@ -32,7 +32,7 @@ extension UniqueDeque where Element: ~Copyable {
|
||||
#endif
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension UniqueDeque: Container where Element: ~Copyable {}
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ extension UniqueDeque where Element: ~Copyable {
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension UniqueDeque where Element: ~Copyable {
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Creates a new unique deque of the specified capacity, populating it with
|
||||
/// all items generated by a given producer.
|
||||
///
|
||||
@@ -99,7 +99,7 @@ extension UniqueDeque where Element: ~Copyable {
|
||||
}
|
||||
#endif
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Creates a new unique deque, populating it with
|
||||
/// all items generated by a given producer.
|
||||
///
|
||||
@@ -139,7 +139,7 @@ extension UniqueDeque /*where Element: Copyable*/ {
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension UniqueDeque /*where Element: Copyable*/ {
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Creates a new deque with the specified capacity, holding a copy
|
||||
/// of the contents of a given borrowing sequence.
|
||||
///
|
||||
@@ -177,7 +177,7 @@ extension UniqueDeque /*where Element: Copyable*/ {
|
||||
self.append(copying: contents)
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Creates a new deque with the specified capacity, holding a copy
|
||||
/// of the contents of a given sequence.
|
||||
///
|
||||
|
||||
@@ -218,7 +218,7 @@ extension UniqueDeque where Element: ~Copyable {
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension UniqueDeque where Element: ~Copyable {
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Inserts at most `newItemCount` items generated by a producer into this
|
||||
/// deque, starting at the given index.
|
||||
///
|
||||
@@ -370,7 +370,7 @@ extension UniqueDeque /* where Element: Copyable */ {
|
||||
}
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
@inlinable
|
||||
internal mutating func _insertContainer<
|
||||
C: Container<Element> & ~Copyable & ~Escapable
|
||||
@@ -413,7 +413,7 @@ extension UniqueDeque /* where Element: Copyable */ {
|
||||
"Broken Collection: count doesn't match contents")
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Copies the elements of a container into this deque at the specified
|
||||
/// position.
|
||||
///
|
||||
@@ -479,7 +479,7 @@ extension UniqueDeque /* where Element: Copyable */ {
|
||||
at: index, copying: items, newCount: items.count)
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Copies the elements of a container into this deque at the specified
|
||||
/// position.
|
||||
///
|
||||
|
||||
@@ -173,7 +173,7 @@ extension UniqueDeque where Element: ~Copyable {
|
||||
}
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Prepends at most `newItemCount` items generated by a producer to the front
|
||||
/// of this deque.
|
||||
///
|
||||
@@ -218,7 +218,7 @@ extension UniqueDeque where Element: ~Copyable {
|
||||
}
|
||||
#endif
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Prepends all items generated by a producer to the front of this deque.
|
||||
///
|
||||
/// If the deque doesn't have sufficient capacity to accommodate all the
|
||||
@@ -315,7 +315,7 @@ extension UniqueDeque /*where Element: Copyable*/ {
|
||||
}
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
@inlinable
|
||||
internal mutating func _prepend<
|
||||
S: BorrowingSequence<Element> & ~Copyable & ~Escapable
|
||||
@@ -460,7 +460,7 @@ extension UniqueDeque /*where Element: Copyable*/ {
|
||||
_storage._handle.uncheckedPrepend(copying: items, exactCount: c)
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Copies the elements of a borrowing sequence to the end of this deque.
|
||||
///
|
||||
/// If the deque does not have sufficient capacity to hold all items in the
|
||||
|
||||
@@ -287,7 +287,7 @@ extension UniqueDeque where Element: ~Copyable {
|
||||
}
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Replaces the specified range of elements by at most `newItemCount` items
|
||||
/// generated by a producer.
|
||||
///
|
||||
@@ -462,7 +462,7 @@ extension UniqueDeque /* where Element: Copyable */ {
|
||||
}
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
@inlinable
|
||||
internal mutating func _replace<
|
||||
C: Container<Element> & ~Copyable & ~Escapable
|
||||
@@ -506,7 +506,7 @@ extension UniqueDeque /* where Element: Copyable */ {
|
||||
}
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Replaces the specified subrange of elements by copying the elements of
|
||||
/// the given container.
|
||||
///
|
||||
@@ -584,7 +584,7 @@ extension UniqueDeque /* where Element: Copyable */ {
|
||||
removing: subrange, copyingCollection: items, newCount: items.count)
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Replaces the specified subrange of elements by copying the elements of
|
||||
/// the given container.
|
||||
///
|
||||
|
||||
@@ -22,7 +22,7 @@ import BasicContainers
|
||||
|
||||
#if compiler(>=6.2)
|
||||
|
||||
#if compiler(<6.3) || !COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(<6.4) || !COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Check if `left` and `right` contain equal elements in the same order.
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
internal func expectIterableContents<
|
||||
@@ -75,7 +75,7 @@ class RigidArrayTests: CollectionTestCase {
|
||||
let expected = (0 ..< layout.count).map { tracker.instance(for: $0) }
|
||||
expectEqual(tracker.instances, 2 * layout.count)
|
||||
expectIterableContents(items, equalTo: expected)
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
checkIterable(items, expectedContents: expected)
|
||||
#endif
|
||||
}
|
||||
@@ -1179,7 +1179,7 @@ class RigidArrayTests: CollectionTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
#if compiler(>=6.3) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
func test_insert_copying_Container() {
|
||||
withSomeArrayLayouts("layout", ofCapacities: [0, 5, 10]) { layout in
|
||||
withEvery("i", in: 0 ... layout.count) { i in
|
||||
@@ -1327,7 +1327,7 @@ class RigidArrayTests: CollectionTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
#if compiler(>=6.3) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
func test_replace_Container() {
|
||||
withSomeArrayLayouts("layout", ofCapacities: [0, 5, 10]) { layout in
|
||||
withEveryRange("range", in: 0 ..< layout.count) { range in
|
||||
@@ -1358,7 +1358,7 @@ class RigidArrayTests: CollectionTestCase {
|
||||
}
|
||||
#endif
|
||||
|
||||
#if compiler(>=6.3) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
func test_borrowing_map() {
|
||||
let c = 100
|
||||
let items = RigidArray(capacity: c, copying: 0 ..< c)
|
||||
|
||||
@@ -21,7 +21,7 @@ import BasicContainers
|
||||
|
||||
#if compiler(>=6.2)
|
||||
|
||||
#if compiler(<6.3) || !COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(<6.4) || !COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Check if `left` and `right` contain equal elements in the same order.
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
public func expectIterableContents<
|
||||
@@ -78,7 +78,7 @@ class UniqueArrayTests: CollectionTestCase {
|
||||
let expected = (0 ..< layout.count).map { tracker.instance(for: $0) }
|
||||
expectEqual(tracker.instances, 2 * layout.count)
|
||||
expectIterableContents(items, equalTo: expected)
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
checkIterable(items, expectedContents: expected)
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ import ContainersPreview
|
||||
#endif
|
||||
|
||||
#if compiler(>=6.2)
|
||||
#if compiler(<6.3) || !COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(<6.4) || !COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Check if `left` and `right` contain equal elements in the same order.
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
internal func expectIterableContents<
|
||||
@@ -345,7 +345,7 @@ final class RigidDequeTests: CollectionTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
func test_initFromProducer() {
|
||||
withEvery("count", in: 0 ..< 10) { count in
|
||||
withEvery("capacity", in: [count, count + 1, 2 * count] as Set) { capacity in
|
||||
@@ -414,7 +414,7 @@ final class RigidDequeTests: CollectionTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
#if compiler(>=6.3) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
func test_initCopyingBorrowingSequence() {
|
||||
withEvery("c", in: 0 ..< 10) { c in
|
||||
withEvery("capacity", in: [c, c + 1]) { capacity in
|
||||
@@ -767,7 +767,7 @@ final class RigidDequeTests: CollectionTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
func test_prepend_Producer_full() {
|
||||
withEveryDeque("layout", ofCapacities: [0, 1, 2, 3, 5]) { layout in
|
||||
withEvery("producerSize", in: 0 ..< 6) { producerSize in
|
||||
@@ -792,7 +792,7 @@ final class RigidDequeTests: CollectionTestCase {
|
||||
}
|
||||
#endif
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
func test_append_Producer() {
|
||||
withEveryDeque("layout", ofCapacities: [0, 1, 2, 3, 5]) { layout in
|
||||
withEvery("producerSize", in: 0 ..< layout.freeCapacity) { producerSize in
|
||||
@@ -817,7 +817,7 @@ final class RigidDequeTests: CollectionTestCase {
|
||||
}
|
||||
#endif
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
func test_prepend_Producer_failing() {
|
||||
withEveryDeque("layout", ofCapacities: [0, 1, 2, 3, 5]) { layout in
|
||||
guard layout.freeCapacity > 0 else { return }
|
||||
@@ -848,7 +848,7 @@ final class RigidDequeTests: CollectionTestCase {
|
||||
}
|
||||
#endif
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
func test_append_Producer_failing() {
|
||||
withEveryDeque("layout", ofCapacities: [0, 1, 2, 3, 5]) { layout in
|
||||
guard layout.freeCapacity > 0 else { return }
|
||||
@@ -1174,7 +1174,7 @@ final class RigidDequeTests: CollectionTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
func test_insert_fromProducer() {
|
||||
withEveryDeque("layout", ofCapacities: [0, 1, 2, 3, 5]) { layout in
|
||||
withEvery("i", in: 0 ... layout.count) { i in
|
||||
@@ -1206,7 +1206,7 @@ final class RigidDequeTests: CollectionTestCase {
|
||||
}
|
||||
#endif
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
func test_insert_fromProducer_failing() {
|
||||
withEveryDeque("layout", ofCapacities: [0, 1, 2, 3, 5]) { layout in
|
||||
guard layout.freeCapacity > 0 else { return }
|
||||
@@ -1264,7 +1264,7 @@ final class RigidDequeTests: CollectionTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
func test_insert_RigidArray() {
|
||||
withEveryDeque("layout", ofCapacities: [0, 1, 2, 3, 5, 10]) { layout in
|
||||
withEvery("i", in: 0 ... layout.count) { i in
|
||||
|
||||
@@ -22,7 +22,7 @@ import ContainersPreview
|
||||
#endif
|
||||
|
||||
#if compiler(>=6.2)
|
||||
#if compiler(<6.3) || !COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(<6.4) || !COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Check if `left` and `right` contain equal elements in the same order.
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
internal func expectIterableContents<
|
||||
|
||||
@@ -121,7 +121,7 @@ public func expectIterableContents<
|
||||
}
|
||||
}
|
||||
|
||||
#if compiler(>=6.3) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// Check if `left` contains lifetime tracked instances whose payloads equal
|
||||
/// the elements in `right`.
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
@@ -217,7 +217,7 @@ public func expectIterablePayloads<
|
||||
}
|
||||
#endif
|
||||
|
||||
#if compiler(>=6.3) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
public func expectIterablesWithEquivalentElements<
|
||||
S1: BorrowingSequence & ~Copyable & ~Escapable,
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
import XCTest
|
||||
#if COLLECTIONS_SINGLE_MODULE
|
||||
import Collections
|
||||
|
||||
@@ -19,7 +19,7 @@ import BasicContainers
|
||||
import ContainersPreview
|
||||
#endif
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
package struct CustomDrain<Element: ~Copyable>: ~Copyable {
|
||||
|
||||
@@ -18,7 +18,7 @@ import InternalCollectionsUtilities
|
||||
import ContainersPreview
|
||||
#endif
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
package struct CustomProducer<Element: ~Copyable, ProducerError: Error>: ~Copyable {
|
||||
|
||||
@@ -18,7 +18,7 @@ import BasicContainers
|
||||
import ContainersPreview
|
||||
#endif
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
/// A container type with user-defined contents and storage chunks.
|
||||
/// Useful for testing.
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
|
||||
@@ -153,6 +153,8 @@
|
||||
7D72468E2F3D9DDB00112FD0 /* _HTable+Bitmap.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D72467B2F3D9DDB00112FD0 /* _HTable+Bitmap.swift */; };
|
||||
7D7246902F3D9DDB00112FD0 /* _HTable+Sizing.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D72467D2F3D9DDB00112FD0 /* _HTable+Sizing.swift */; };
|
||||
7D7246922F3D9E6800112FD0 /* RigidSetTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D7246912F3D9E6800112FD0 /* RigidSetTests.swift */; };
|
||||
7D72F5952F75DA62004AB792 /* BorrowingSequence+SpanIterator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D72F5942F75DA62004AB792 /* BorrowingSequence+SpanIterator.swift */; };
|
||||
7D72F5962F75DA62004AB792 /* BorrowingSequence+Algorithms.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D72F5932F75DA62004AB792 /* BorrowingSequence+Algorithms.swift */; };
|
||||
7D9748D42E9748930098631A /* BigString+Chunk+UTF16.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D9748D32E9748930098631A /* BigString+Chunk+UTF16.swift */; };
|
||||
7D9748D52E9748930098631A /* BigString+Chunk+UnicodeScalar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D9748D12E9748930098631A /* BigString+Chunk+UnicodeScalar.swift */; };
|
||||
7D9748D62E9748930098631A /* BigString+Chunk+Character.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D9748CF2E9748930098631A /* BigString+Chunk+Character.swift */; };
|
||||
@@ -749,6 +751,8 @@
|
||||
7D7246832F3D9DDB00112FD0 /* RigidDictionary.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RigidDictionary.swift; sourceTree = "<group>"; };
|
||||
7D7246852F3D9DDB00112FD0 /* RigidSet.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RigidSet.swift; sourceTree = "<group>"; };
|
||||
7D7246912F3D9E6800112FD0 /* RigidSetTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RigidSetTests.swift; sourceTree = "<group>"; };
|
||||
7D72F5932F75DA62004AB792 /* BorrowingSequence+Algorithms.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "BorrowingSequence+Algorithms.swift"; sourceTree = "<group>"; };
|
||||
7D72F5942F75DA62004AB792 /* BorrowingSequence+SpanIterator.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "BorrowingSequence+SpanIterator.swift"; sourceTree = "<group>"; };
|
||||
7D9748CF2E9748930098631A /* BigString+Chunk+Character.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "BigString+Chunk+Character.swift"; sourceTree = "<group>"; };
|
||||
7D9748D02E9748930098631A /* BigString+Chunk+Index.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "BigString+Chunk+Index.swift"; sourceTree = "<group>"; };
|
||||
7D9748D12E9748930098631A /* BigString+Chunk+UnicodeScalar.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "BigString+Chunk+UnicodeScalar.swift"; sourceTree = "<group>"; };
|
||||
@@ -1255,6 +1259,8 @@
|
||||
7D57EDC32F647DB10029D5E3 /* BorrowingIteratorProtocol+Reduce.swift */,
|
||||
7D57EDC42F647DB10029D5E3 /* BorrowingIteratorProtocol+SpanwiseZip.swift */,
|
||||
7D2A772B2F27F1E4005780C7 /* BorrowingSequence.swift */,
|
||||
7D72F5932F75DA62004AB792 /* BorrowingSequence+Algorithms.swift */,
|
||||
7D72F5942F75DA62004AB792 /* BorrowingSequence+SpanIterator.swift */,
|
||||
7D2A772C2F27F1E4005780C7 /* BorrowingSequence+Standard Conformances.swift */,
|
||||
7D2A772D2F27F1E4005780C7 /* BorrowingSequence+Utilities.swift */,
|
||||
7D57EDCE2F647DB10029D5E3 /* Container */,
|
||||
@@ -2982,6 +2988,8 @@
|
||||
7DE9217129CA70F4004483EB /* TreeDictionary+Values.swift in Sources */,
|
||||
7D2A77262F27F1D1005780C7 /* Span+Extras.swift in Sources */,
|
||||
7DE920D029CA70F4004483EB /* BitSet+SetAlgebra isSubset.swift in Sources */,
|
||||
7D72F5952F75DA62004AB792 /* BorrowingSequence+SpanIterator.swift in Sources */,
|
||||
7D72F5962F75DA62004AB792 /* BorrowingSequence+Algorithms.swift in Sources */,
|
||||
7D479CD92F47CBBA00A8CB59 /* RigidDictionary+Initializers.swift in Sources */,
|
||||
7DE920C829CA70F4004483EB /* BitSet+SetAlgebra isEqualSet.swift in Sources */,
|
||||
7DE9215B29CA70F4004483EB /* _HashNode+Structural mapValues.swift in Sources */,
|
||||
|
||||
Reference in new issue
Block a user