Emacs: Upgrade main snippet to C++17.

This commit is contained in:
tastytea 2019-12-19 00:45:56 +01:00
parent 1c93874516
commit 1a6db383c6
1 changed files with 3 additions and 3 deletions

View File

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