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

5 lines
90 B
Plaintext

# -*- mode: snippet -*-
# name: ternary
# key: ?
# --
(${1:cond}) ? ${2:then} : ${3:else};