2019-10-01 10:14:42 +02:00
|
|
|
# -*- mode: snippet -*-
|
|
|
|
# name: main
|
|
|
|
# key: main
|
|
|
|
# --
|
2019-12-19 00:45:56 +01:00
|
|
|
#include <string_view>
|
2019-10-14 00:42:10 +02:00
|
|
|
#include <vector>
|
|
|
|
|
2019-12-19 00:45:56 +01:00
|
|
|
using std::string_view;
|
2019-10-14 00:42:10 +02:00
|
|
|
using std::vector;
|
|
|
|
|
2019-10-01 10:14:42 +02:00
|
|
|
int main(${1:int argc, char *argv[]})
|
|
|
|
{
|
2019-12-19 00:45:56 +01:00
|
|
|
${2:const vector<string_view> args(argv, argv + argc);}
|
2019-10-14 00:42:10 +02:00
|
|
|
$0
|
2019-10-08 15:45:12 +02:00
|
|
|
|
2019-10-01 10:14:42 +02:00
|
|
|
return 0;
|
|
|
|
}
|