aboutsummaryrefslogtreecommitdiff
path: root/cutl/re/re.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-11-15 15:00:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-15 15:00:04 +0200
commite8a09d9833d67a40c43e4de1d578551cc9020cb7 (patch)
tree0d4f2f7208dc432aad5ad3d4f132c80e0d63e534 /cutl/re/re.cxx
parent44fde85b2496750b78939247d1d19a67c5b3dc71 (diff)
Various MSVC and C++11 fixes
Diffstat (limited to 'cutl/re/re.cxx')
-rw-r--r--cutl/re/re.cxx28
1 files changed, 14 insertions, 14 deletions
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<char>::
+ LIBCUTL_EXPORT basic_regex<char>::
~basic_regex ()
{
delete impl_;
}
template <>
- basic_regex<wchar_t>::
+ LIBCUTL_EXPORT basic_regex<wchar_t>::
~basic_regex ()
{
delete impl_;
}
template <>
- basic_regex<char>::
+ LIBCUTL_EXPORT basic_regex<char>::
basic_regex (basic_regex const& r)
: str_ (r.str_), impl_ (new impl (r.impl_->r))
{
}
template <>
- basic_regex<wchar_t>::
+ LIBCUTL_EXPORT basic_regex<wchar_t>::
basic_regex (basic_regex const& r)
: str_ (r.str_), impl_ (new impl (r.impl_->r))
{
}
template <>
- basic_regex<char>& basic_regex<char>::
+ LIBCUTL_EXPORT basic_regex<char>& basic_regex<char>::
operator= (basic_regex const& r)
{
string_type tmp (r.str_);
@@ -108,7 +108,7 @@ namespace cutl
}
template <>
- basic_regex<wchar_t>& basic_regex<wchar_t>::
+ LIBCUTL_EXPORT basic_regex<wchar_t>& basic_regex<wchar_t>::
operator= (basic_regex const& r)
{
string_type tmp (r.str_);
@@ -118,7 +118,7 @@ namespace cutl
}
template <>
- void basic_regex<char>::
+ LIBCUTL_EXPORT void basic_regex<char>::
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<wchar_t>::
+ LIBCUTL_EXPORT void basic_regex<wchar_t>::
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<char>::
+ LIBCUTL_EXPORT bool basic_regex<char>::
match (string_type const& s) const
{
return ire::regex_match (s, impl_->r);
}
template <>
- bool basic_regex<wchar_t>::
+ LIBCUTL_EXPORT bool basic_regex<wchar_t>::
match (string_type const& s) const
{
return ire::regex_match (s, impl_->r);
}
template <>
- bool basic_regex<char>::
+ LIBCUTL_EXPORT bool basic_regex<char>::
search (string_type const& s) const
{
return ire::regex_search (s, impl_->r);
}
template <>
- bool basic_regex<wchar_t>::
+ LIBCUTL_EXPORT bool basic_regex<wchar_t>::
search (string_type const& s) const
{
return ire::regex_search (s, impl_->r);
}
template <>
- string basic_regex<char>::
+ LIBCUTL_EXPORT string basic_regex<char>::
replace (string_type const& s,
string_type const& sub,
bool first_only) const
@@ -217,7 +217,7 @@ namespace cutl
}
template <>
- wstring basic_regex<wchar_t>::
+ LIBCUTL_EXPORT wstring basic_regex<wchar_t>::
replace (string_type const& s,
string_type const& sub,
bool first_only) const