my-emacs-d/elpa/yasnippet-20160924.2001/snippets/cc-mode/ternary

5 lines
90 B
Plaintext
Raw Normal View History

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