aboutsummaryrefslogtreecommitdiff
path: root/cutl/re.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-11-14 15:24:14 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-14 15:24:14 +0200
commit44fde85b2496750b78939247d1d19a67c5b3dc71 (patch)
treecb7f87c14037727ddc89bb7499457b5e3207ad98 /cutl/re.hxx
parent7945c1771bbb57125b3e3343fa84bfc314e0f4d4 (diff)
C++11-compatibility fixes and improvements
Diffstat (limited to 'cutl/re.hxx')
-rw-r--r--cutl/re.hxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/cutl/re.hxx b/cutl/re.hxx
index b5bbdb9..176bd9d 100644
--- a/cutl/re.hxx
+++ b/cutl/re.hxx
@@ -9,6 +9,8 @@
#include <ostream>
#include <cutl/exception.hxx>
+
+#include <cutl/details/config.hxx>
#include <cutl/details/export.hxx>
namespace cutl
@@ -17,9 +19,6 @@ namespace cutl
{
struct LIBCUTL_EXPORT format_base: exception
{
- virtual
- ~format_base () throw ();
-
format_base (std::string const& d): description_ (d) {}
std::string const&
@@ -29,7 +28,7 @@ namespace cutl
}
virtual char const*
- what () const throw ();
+ what () const LIBCUTL_NOTHROW_NOEXCEPT;
protected:
std::string description_;
@@ -38,9 +37,6 @@ namespace cutl
template <typename C>
struct basic_format: format_base
{
- virtual
- ~basic_format () throw () {}
-
basic_format (std::basic_string<C> const& e, std::string const& d)
: format_base (d), regex_ (e) {}