infix
operator
+ {
associativity
left
precedence
140
}
Declarations
Declaration
func
+
<
C
:
_ExtensibleCollectionType
,
S
:
CollectionType
where
C
.
Generator
.
Element
==
C
.
Generator
.
Element
>
(
lhs
:
C
,
rhs
:
S
) -
>
C
Declaration
func
+
<
C
:
_ExtensibleCollectionType
,
S
:
SequenceType
where
C
.
Generator
.
Element
==
C
.
Generator
.
Element
>
(
lhs
:
C
,
rhs
:
S
) -
>
C
Declaration
func
+
<
C
:
_ExtensibleCollectionType
,
S
:
SequenceType
where
C
.
Generator
.
Element
==
C
.
Generator
.
Element
>
(
lhs
:
S
,
rhs
:
C
) -
>
C
Declaration
func
+
<
EC1
:
_ExtensibleCollectionType
,
EC2
:
_ExtensibleCollectionType
where
EC1
.
Generator
.
Element
==
EC1
.
Generator
.
Element
>
(
lhs
:
EC1
,
rhs
:
EC2
) -
>
EC1
Add lhs
and rhs
, returning a result and trapping in case of
arithmetic overflow (except in -Ounchecked builds).
Declaration
func
+
<
T
:
_IntegerArithmeticType
>
(
lhs
:
T
,
rhs
:
T
) -
>
T
Declaration
func
+
<
T
:
_UnsignedIntegerType
>
(
lhs
:
T
,
rhs
:
T
.
_DisallowMixedSignArithmetic
) -
>
T
Declaration
func
+
<
T
:
_UnsignedIntegerType
>
(
lhs
:
T
.
_DisallowMixedSignArithmetic
,
rhs
:
T
) -
>
T
Declaration
func
+
<
T
:
Strideable
>
(
lhs
:
T
,
rhs
:
T
.
Stride
) -
>
T
Declaration
func
+
<
T
:
Strideable
>
(
lhs
:
T
.
Stride
,
rhs
:
T
) -
>
T
Declaration
func
+
<
T
>
(
lhs
:
Int
,
rhs
:
UnsafeMutablePointer
<
T
>
) -
>
UnsafeMutablePointer
<
T
>
Declaration
func
+
<
T
>
(
lhs
:
Int
,
rhs
:
UnsafePointer
<
T
>
) -
>
UnsafePointer
<
T
>
Declaration
func
+
<
T
>
(
lhs
:
UnsafeMutablePointer
<
T
>
,
rhs
:
Int
) -
>
UnsafeMutablePointer
<
T
>
Declaration
func
+
<
T
>
(
lhs
:
UnsafePointer
<
T
>
,
rhs
:
Int
) -
>
UnsafePointer
<
T
>
Declaration
func
+(
lhs
:
Double
,
rhs
:
Double
) -
>
Double