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

10 lines
192 B
Plaintext
Raw Normal View History

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