From 5409489c632fcaa3868a0767cecef65f079e5a94 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 19 Sep 2009 08:41:33 +0200 Subject: Add RAII-based file auto-remover --- cutl/fs/exception.cxx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 cutl/fs/exception.cxx (limited to 'cutl/fs/exception.cxx') 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 +// copyright : Copyright (c) 2009 Code Synthesis Tools CC +// license : MIT; see accompanying LICENSE file + +#include + +namespace cutl +{ + namespace fs + { + char const* error:: + what () const throw () + { + return "filesystem error"; + } + } +} -- cgit v1.1