summaryrefslogtreecommitdiff
path: root/boost/regex/v4/regex_traits.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/regex/v4/regex_traits.hpp')
-rw-r--r--boost/regex/v4/regex_traits.hpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/boost/regex/v4/regex_traits.hpp b/boost/regex/v4/regex_traits.hpp
index 8b1cb6ffe1..45a4bdf626 100644
--- a/boost/regex/v4/regex_traits.hpp
+++ b/boost/regex/v4/regex_traits.hpp
@@ -82,7 +82,7 @@ struct regex_traits : public implementationT
// interfaces that we support, in addition to the
// required "standard" ones:
//
-namespace re_detail{
+namespace BOOST_REGEX_DETAIL_NS{
#if !BOOST_WORKAROUND(__HP_aCC, < 60000)
BOOST_MPL_HAS_XXX_TRAIT_DEF(boost_extensions_tag)
#else
@@ -99,7 +99,7 @@ struct default_wrapper : public BaseT
typedef typename BaseT::char_type char_type;
std::string error_string(::boost::regex_constants::error_type e)const
{
- return ::boost::re_detail::get_default_error_string(e);
+ return ::boost::BOOST_REGEX_DETAIL_NS::get_default_error_string(e);
}
::boost::regex_constants::syntax_type syntax_type(char_type c)const
{
@@ -111,7 +111,7 @@ struct default_wrapper : public BaseT
}
int toi(const char_type*& p1, const char_type* p2, int radix)const
{
- return ::boost::re_detail::global_toi(p1, p2, radix, *this);
+ return ::boost::BOOST_REGEX_DETAIL_NS::global_toi(p1, p2, radix, *this);
}
char_type translate(char_type c, bool icase)const
{
@@ -123,11 +123,11 @@ struct default_wrapper : public BaseT
}
char_type tolower(char_type c)const
{
- return ::boost::re_detail::global_lower(c);
+ return ::boost::BOOST_REGEX_DETAIL_NS::global_lower(c);
}
char_type toupper(char_type c)const
{
- return ::boost::re_detail::global_upper(c);
+ return ::boost::BOOST_REGEX_DETAIL_NS::global_upper(c);
}
};
@@ -157,13 +157,13 @@ struct compute_wrapper_base<c_regex_traits<wchar_t>, false>
#endif
#endif
-} // namespace re_detail
+} // namespace BOOST_REGEX_DETAIL_NS
template <class BaseT>
struct regex_traits_wrapper
- : public ::boost::re_detail::compute_wrapper_base<
+ : public ::boost::BOOST_REGEX_DETAIL_NS::compute_wrapper_base<
BaseT,
- ::boost::re_detail::has_boost_extensions_tag<BaseT>::value
+ ::boost::BOOST_REGEX_DETAIL_NS::has_boost_extensions_tag<BaseT>::value
>::type
{
regex_traits_wrapper(){}