From e8a09d9833d67a40c43e4de1d578551cc9020cb7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 15 Nov 2016 15:00:04 +0200 Subject: Various MSVC and C++11 fixes --- cutl/re/re.cxx | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'cutl/re') diff --git a/cutl/re/re.cxx b/cutl/re/re.cxx index 5e1dc4a..2c835a2 100644 --- a/cutl/re/re.cxx +++ b/cutl/re/re.cxx @@ -70,35 +70,35 @@ namespace cutl }; template <> - basic_regex:: + LIBCUTL_EXPORT basic_regex:: ~basic_regex () { delete impl_; } template <> - basic_regex:: + LIBCUTL_EXPORT basic_regex:: ~basic_regex () { delete impl_; } template <> - basic_regex:: + LIBCUTL_EXPORT basic_regex:: basic_regex (basic_regex const& r) : str_ (r.str_), impl_ (new impl (r.impl_->r)) { } template <> - basic_regex:: + LIBCUTL_EXPORT basic_regex:: basic_regex (basic_regex const& r) : str_ (r.str_), impl_ (new impl (r.impl_->r)) { } template <> - basic_regex& basic_regex:: + LIBCUTL_EXPORT basic_regex& basic_regex:: operator= (basic_regex const& r) { string_type tmp (r.str_); @@ -108,7 +108,7 @@ namespace cutl } template <> - basic_regex& basic_regex:: + LIBCUTL_EXPORT basic_regex& basic_regex:: operator= (basic_regex const& r) { string_type tmp (r.str_); @@ -118,7 +118,7 @@ namespace cutl } template <> - void basic_regex:: + LIBCUTL_EXPORT void basic_regex:: init (string_type const* s, bool icase) { string_type tmp (s == 0 ? string_type () : *s); @@ -146,7 +146,7 @@ namespace cutl } template <> - void basic_regex:: + LIBCUTL_EXPORT void basic_regex:: init (string_type const* s, bool icase) { string_type tmp (s == 0 ? string_type () : *s); @@ -174,35 +174,35 @@ namespace cutl } template <> - bool basic_regex:: + LIBCUTL_EXPORT bool basic_regex:: match (string_type const& s) const { return ire::regex_match (s, impl_->r); } template <> - bool basic_regex:: + LIBCUTL_EXPORT bool basic_regex:: match (string_type const& s) const { return ire::regex_match (s, impl_->r); } template <> - bool basic_regex:: + LIBCUTL_EXPORT bool basic_regex:: search (string_type const& s) const { return ire::regex_search (s, impl_->r); } template <> - bool basic_regex:: + LIBCUTL_EXPORT bool basic_regex:: search (string_type const& s) const { return ire::regex_search (s, impl_->r); } template <> - string basic_regex:: + LIBCUTL_EXPORT string basic_regex:: replace (string_type const& s, string_type const& sub, bool first_only) const @@ -217,7 +217,7 @@ namespace cutl } template <> - wstring basic_regex:: + LIBCUTL_EXPORT wstring basic_regex:: replace (string_type const& s, string_type const& sub, bool first_only) const -- cgit v1.1