mirror of
https://github.com/boostorg/regex.git
synced 2025-07-17 06:12:10 +02:00
New warning supression code doesn't work for VC6 :-( So work around the workaround...
[SVN r20493]
This commit is contained in:
@ -71,12 +71,14 @@ struct is_big_char
|
|||||||
{
|
{
|
||||||
typedef typename traits::uchar_type traits_uchar_type;
|
typedef typename traits::uchar_type traits_uchar_type;
|
||||||
typedef typename traits::size_type traits_size_type;
|
typedef typename traits::size_type traits_size_type;
|
||||||
|
#if !BOOST_WORKAROUND(BOOST_MSVC, <= 1200)
|
||||||
static bool test(char)
|
static bool test(char)
|
||||||
{ return false; }
|
{ return false; }
|
||||||
static bool test(unsigned char)
|
static bool test(unsigned char)
|
||||||
{ return false; }
|
{ return false; }
|
||||||
static bool test(signed char)
|
static bool test(signed char)
|
||||||
{ return false; }
|
{ return false; }
|
||||||
|
#endif
|
||||||
template <class charT> static bool test(charT c)
|
template <class charT> static bool test(charT c)
|
||||||
{ return (traits_size_type)(traits_uchar_type)c >= 256; }
|
{ return (traits_size_type)(traits_uchar_type)c >= 256; }
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user