Added workaround for old EDG based compilers (SGI cxx compiler).

[SVN r28518]
This commit is contained in:
John Maddock
2005-04-28 16:31:39 +00:00
parent 2e0466d662
commit 90560a3278

View File

@ -220,12 +220,18 @@ inline std::ptrdiff_t global_length(const wchar_t* p)
}
#endif
template <class charT>
inline charT BOOST_REGEX_CALL global_lower(charT c)
#if !BOOST_WORKAROUND(__EDG_VERSION__, <= 245)
inline
#endif
charT BOOST_REGEX_CALL global_lower(charT c)
{
return c;
}
template <class charT>
inline charT BOOST_REGEX_CALL global_upper(charT c)
#if !BOOST_WORKAROUND(__EDG_VERSION__, <= 245)
inline
#endif
charT BOOST_REGEX_CALL global_upper(charT c)
{
return c;
}