mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-23 19:46:33 +03:00
mawww's experiment for a better code editor
4b38cd3cd0
this helper permits to register a resource and cleanup function to keep exception safety with C like resource. For exemple, to be sure that a FILE* will be closed, you can use: auto file = auto_raii(fopen("filename"), fclose); file will auto cast to FILE* when needed, and will call fclose when going out of scope. |
||
---|---|---|
src | ||
.gitignore | ||
GOALS | ||
IDEAS |