Reduce C++ main snippet.

This commit is contained in:
tastytea 2021-07-03 20:08:21 +02:00
parent b4977d1a62
commit 55b96614a0
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 0 additions and 9 deletions

View File

@ -2,16 +2,7 @@
# name: main # name: main
# key: main # key: main
# -- # --
#include <string_view>
#include <vector>
using std::string_view;
using std::vector;
int main(${1:int argc, char *argv[]}) int main(${1:int argc, char *argv[]})
{ {
${2:const vector<string_view> args(argv, argv + argc);}
$0 $0
return 0;
} }