my-emacs-d/elpa/yasnippet-20160924.2001/snippets/c++-mode/cout
2016-10-20 10:27:10 +02:00

8 lines
262 B
Plaintext

# -*- mode: snippet -*-
# contributor: York Zhao <gtdplatform@gmail.com>
# name: cout
# key: cout
# --
`(progn (save-excursion) (goto-char (point-min)) (unless (re-search-forward
"^using\\s-+namespace std;" nil 'no-errer) "std::"))
`cout << $0${1: << "${2:\n}"};