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

5 lines
90 B
Plaintext
Raw Normal View History

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