版本比较
Sublime 配置
正文
增加 4 行删除 4 行
12344567891011121313141516171819202122232324252627282930313132333435108 行未改动全部展开编译命令```json{ "shell_cmd": "g++ -std=c++17 -m64 -Wall -Wextra -static -D__LOCAL__ -Wl,--stack,1073741824 -finput-charset=UTF-8 -fexec-charset=UTF-8 -I\"D:/My Project/bin/Debug\" -I\"D:/My Project/bin\" -o _run_.exe \"$file\" && start \"$file_base_name\" cmd /c \"D:\\My Project\\bin\\run.bat\"", "shell_cmd": "g++ -std=c++17 -m64 -Wall -Wextra -static -D__LOCAL__ -Wl,--stack,1073741824 -finput-charset=UTF-8 -fexec-charset=UTF-8 -I\"D:/My Project/bin\" -o _run_.exe \"$file\" && start \"$file_base_name\" cmd /c \"D:\\My Project\\bin\\run.bat\"", "working_dir": "$file_path", "file_regex": "^(.*):([0-9]+):([0-9]+): (?:fatal )?error: (.*)$", "selector": "source.c++", "encoding": "utf-8"}```
D:\My Project\bin\timer.ps1```ps1```param([string]$Exe)$sw = [Diagnostics.Stopwatch]::StartNew()& $Exe$sw.Stop()Write-Host ''Write-Host ('({0} ms)' -f $sw.ElapsedMilliseconds)```
D:\My Project\bin\run.bat```bat```@echo offchcp 65001 >nulpowershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0timer.ps1" ".\_run_.exe"pause```
D:\My Project\bin\Debug.h```h```cppnamespace _Debug { template<typename T> struct isContainer { private:108 行未改动全部展开