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

10 lines
185 B
Plaintext
Raw Normal View History

2017-12-21 17:29:29 +01:00
# -*- mode: snippet -*-
# name: operator>>
# key: >>
# group: operator overloading
# --
std::istream& operator>>(std::istream& is, const ${1:Class}& ${2:c})
{
$0
return is;
}