dotfiles/.emacs.d/snippets/c++-mode/operator==

9 lines
152 B
Plaintext

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