my-emacs-d/elpa/yasnippet-20160924.2001/snippets/c++-mode/operator!=
2016-10-20 10:27:10 +02:00

9 lines
174 B
Plaintext

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