my-emacs-d/elpa/yasnippet-20160924.2001/snippets/c++-mode/operator_istream

10 lines
185 B
Plaintext
Raw Normal View History

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