File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ extension RangeReplaceableCollection {
55
55
/// container when each element is copied in O(1). Note that this might not
56
56
/// be true for certain C++ types, e.g. those with a custom copy
57
57
/// constructor that performs additional logic.
58
+ @inlinable
58
59
public init < C: CxxConvertibleToCollection > ( _ elements: C )
59
60
where C. RawIterator. Pointee == Element {
60
61
@@ -72,6 +73,7 @@ extension SetAlgebra {
72
73
/// container when each element is copied in O(1). Note that this might not
73
74
/// be true for certain C++ types, e.g. those with a custom copy
74
75
/// constructor that performs additional logic.
76
+ @inlinable
75
77
public init < C: CxxConvertibleToCollection > ( _ elements: C )
76
78
where C. RawIterator. Pointee == Element {
77
79
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ public protocol CxxSet<Element> {
18
18
}
19
19
20
20
extension CxxSet {
21
+ @inlinable
21
22
public func contains( _ element: Element ) -> Bool {
22
23
return count ( element) > 0
23
24
}
You can’t perform that action at this time.
0 commit comments