8 lines
127 B
Plaintext
8 lines
127 B
Plaintext
# -*- mode: snippet -*-
|
|
# name: operator+=
|
|
# key: +=
|
|
# --
|
|
${1:MyClass} & $1::operator+=(const $1 &rhs) {
|
|
$0
|
|
return *this;
|
|
} |