forked from boostorg/regex
Merge accumulated minor fixes from Trunk.
[SVN r74964]
This commit is contained in:
@ -1226,7 +1226,7 @@ void basic_regex_creator<charT, traits>::create_startmap(re_syntax_base* state,
|
||||
for(unsigned int i = 0; i < (1u << CHAR_BIT); ++i)
|
||||
{
|
||||
charT c = static_cast<charT>(i);
|
||||
if(&c != re_is_set_member(&c, &c + 1, static_cast<re_set_long<mask_type>*>(state), *m_pdata, m_icase))
|
||||
if(&c != re_is_set_member(&c, &c + 1, static_cast<re_set_long<mask_type>*>(state), *m_pdata, l_icase))
|
||||
l_map[i] |= mask;
|
||||
}
|
||||
}
|
||||
|
@ -842,7 +842,15 @@ OutputIterator regex_format_imp(OutputIterator out,
|
||||
|
||||
BOOST_MPL_HAS_XXX_TRAIT_DEF(const_iterator)
|
||||
|
||||
struct any_type { any_type(...); };
|
||||
struct any_type
|
||||
{
|
||||
template <class T>
|
||||
any_type(const T&);
|
||||
template <class T, class U>
|
||||
any_type(const T&, const U&);
|
||||
template <class T, class U, class V>
|
||||
any_type(const T&, const U&, const V&);
|
||||
};
|
||||
typedef char no_type;
|
||||
typedef char (&unary_type)[2];
|
||||
typedef char (&binary_type)[3];
|
||||
|
Reference in New Issue
Block a user