Stop calling std::list<>::size(), it's not O(1).

Suppress MSVC warning.
Fix error code for bad repeat range.


[SVN r31833]
This commit is contained in:
John Maddock
2005-11-30 13:56:54 +00:00
parent 9d76e95575
commit 2635121cc8
3 changed files with 4 additions and 3 deletions

View File

@ -494,6 +494,7 @@ bool perl_matcher<BidiIterator, Allocator, traits>::match_char_repeat()
#ifdef BOOST_MSVC
#pragma warning(push)
#pragma warning(disable:4127)
#pragma warning(disable:4267)
#endif
#ifdef __BORLANDC__
#pragma option push -w-8008 -w-8066 -w-8004