10 lines
164 B
Plaintext
10 lines
164 B
Plaintext
|
|
# -*- mode: snippet -*-
|
||
|
|
# name: try
|
||
|
|
# key: try
|
||
|
|
# a bit too intrusive now still, not always I want to do this
|
||
|
|
# --
|
||
|
|
try {
|
||
|
|
$0
|
||
|
|
} catch (${1:std::exception& e}) {
|
||
|
|
|
||
|
|
}
|