home/src
Maxime Coste 4b38cd3cd0 utils: add auto_raii helper function
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.
2011-09-14 15:36:35 +00:00
..
assert.cc assert: custom implementation 2011-09-09 19:24:18 +00:00
assert.hh assert: custom implementation 2011-09-09 19:24:18 +00:00
buffer_manager.cc assert: custom implementation 2011-09-09 19:24:18 +00:00
buffer_manager.hh Add a BufferManager singleton class, handling buffer lifetime 2011-09-08 00:11:48 +00:00
buffer.cc assert: custom implementation 2011-09-09 19:24:18 +00:00
buffer.hh Buffer is now responsible for window creation 2011-09-08 14:30:36 +00:00
command_manager.cc CommandManager: basic command name completion support 2011-09-13 21:16:48 +00:00
command_manager.hh CommandManager: basic command name completion support 2011-09-13 21:16:48 +00:00
display_buffer.cc Initial commit 2011-09-02 16:51:20 +00:00
display_buffer.hh Initial commit 2011-09-02 16:51:20 +00:00
exception.cc exception: refactoring 2011-09-09 18:40:59 +00:00
exception.hh exception: refactoring 2011-09-09 18:40:59 +00:00
file.cc assert: custom implementation 2011-09-09 19:24:18 +00:00
file.hh exception: refactoring 2011-09-09 18:40:59 +00:00
main.cc CommandManager: basic command name completion support 2011-09-13 21:16:48 +00:00
Makefile Makefile: add rule for tags 2011-09-08 14:28:42 +00:00
regex_selector.cc exception: refactoring 2011-09-09 18:40:59 +00:00
regex_selector.hh Initial commit 2011-09-02 16:51:20 +00:00
utils.hh utils: add auto_raii helper function 2011-09-14 15:36:35 +00:00
window.cc Buffer is now responsible for window creation 2011-09-08 14:30:36 +00:00
window.hh Buffer is now responsible for window creation 2011-09-08 14:30:36 +00:00