Add a simple C++ file wrapper class.
authorTeemu Murtola <teemu.murtola@gmail.com>
Sun, 22 Apr 2012 07:52:43 +0000 (10:52 +0300)
committerTeemu Murtola <teemu.murtola@gmail.com>
Mon, 23 Apr 2012 13:43:20 +0000 (16:43 +0300)
commita43cefb6bd769f0515b34b1c0d7b1ee00966e7e2
tree32b66b0f4fae6dcd16471283bbd67ded87174694
parent9f9d331b1d3b2b35bbd13d32f3bbe72dfbddf50b
Add a simple C++ file wrapper class.

This helps in writing exception-safe code, and also takes care of error
reporting (using exceptions).  Currently only a minimal implementation,
but more methods can be added when needed.

Also made a minor adjustmend to the internal boost to avoid compiler
warnings.

Change-Id: I751f1ad242e7f94d06a9165dcca57525b6a99c96
src/external/boost/README
src/external/boost/boost/exception/detail/error_info_impl.hpp
src/gromacs/selection/selectioncollection.cpp
src/gromacs/utility/CMakeLists.txt
src/gromacs/utility/exceptions.cpp
src/gromacs/utility/exceptions.h
src/gromacs/utility/file.cpp [new file with mode: 0644]
src/gromacs/utility/file.h [new file with mode: 0644]