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

5 lines
103 B
Plaintext

# -*- mode: snippet -*-
# name: dynamic_casting
# key: cast
# --
check_and_cast<${1:Type} *>(${2:msg});