diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-09-19 08:41:33 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-09-19 08:41:33 +0200 |
commit | 5409489c632fcaa3868a0767cecef65f079e5a94 (patch) | |
tree | 829cdf6020eb848526778741afe995ee242e7a4d /cutl/fs/exception.cxx | |
parent | 6ca1c8ee64bf7268d194eb15e72d3024a335039d (diff) |
Add RAII-based file auto-remover
Diffstat (limited to 'cutl/fs/exception.cxx')
-rw-r--r-- | cutl/fs/exception.cxx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/cutl/fs/exception.cxx b/cutl/fs/exception.cxx new file mode 100644 index 0000000..793902d --- /dev/null +++ b/cutl/fs/exception.cxx @@ -0,0 +1,18 @@ +// file : cutl/fs/exception.cxx +// author : Boris Kolpackov <boris@codesynthesis.com> +// copyright : Copyright (c) 2009 Code Synthesis Tools CC +// license : MIT; see accompanying LICENSE file + +#include <cutl/fs/exception.hxx> + +namespace cutl +{ + namespace fs + { + char const* error:: + what () const throw () + { + return "filesystem error"; + } + } +} |