9 lines
174 B
Plaintext
9 lines
174 B
Plaintext
|
# -*- mode: snippet -*-
|
||
|
# name: operator!=
|
||
|
# key: !=
|
||
|
# group: operator overloading
|
||
|
# --
|
||
|
bool ${1:MyClass}::operator!=(const $1 &other) const
|
||
|
{
|
||
|
return !(*this == other);
|
||
|
}
|