dotfiles/.emacs.d/snippets/c++-mode/operator_istream

10 lines
185 B
Plaintext

# -*- mode: snippet -*-
# name: operator>>
# key: >>
# group: operator overloading
# --
std::istream& operator>>(std::istream& is, const ${1:Class}& ${2:c})
{
$0
return is;
}