forked from boostorg/regex
Spell things consistently. Add some bits of Mac stuff to the tests.
Use std::size_t where needed. [SVN r10800]
This commit is contained in:
@ -196,7 +196,7 @@ ADDED: High level C++ class RegEx.
|
|||||||
|
|
||||||
Version 111:
|
Version 111:
|
||||||
BUG: Wouldn't compile directly on C++ Builder 4 when it was released
|
BUG: Wouldn't compile directly on C++ Builder 4 when it was released
|
||||||
(not really a bug - more an incompatability)
|
(not really a bug - more an incompatibility)
|
||||||
|
|
||||||
FIXED: All bugs discovered prior to this version (below).
|
FIXED: All bugs discovered prior to this version (below).
|
||||||
|
|
||||||
|
@ -100,7 +100,7 @@ int main()
|
|||||||
std::deque<char> ds;
|
std::deque<char> ds;
|
||||||
boost::regex_t r;
|
boost::regex_t r;
|
||||||
boost::scoped_array<boost::regmatch_t> matches;
|
boost::scoped_array<boost::regmatch_t> matches;
|
||||||
size_t nsubs;
|
std::size_t nsubs;
|
||||||
boost::timer t;
|
boost::timer t;
|
||||||
double tim;
|
double tim;
|
||||||
bool result;
|
bool result;
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/* start with C compatability API */
|
/* start with C compatibility API */
|
||||||
|
|
||||||
#ifndef BOOST_RE_REGEX_HPP
|
#ifndef BOOST_RE_REGEX_HPP
|
||||||
#define BOOST_RE_REGEX_HPP
|
#define BOOST_RE_REGEX_HPP
|
||||||
@ -637,7 +637,7 @@ public:
|
|||||||
bool BOOST_RE_CALL operator<(const reg_expression&)const;
|
bool BOOST_RE_CALL operator<(const reg_expression&)const;
|
||||||
//
|
//
|
||||||
// The following are deprecated as public interfaces
|
// The following are deprecated as public interfaces
|
||||||
// but are available for compatability with earlier versions.
|
// but are available for compatibility with earlier versions.
|
||||||
allocator_type BOOST_RE_CALL allocator()const;
|
allocator_type BOOST_RE_CALL allocator()const;
|
||||||
const charT* BOOST_RE_CALL expression()const { return (this->error_code() ? 0 : _expression); }
|
const charT* BOOST_RE_CALL expression()const { return (this->error_code() ? 0 : _expression); }
|
||||||
unsigned int BOOST_RE_CALL set_expression(const charT* p, const charT* end, flag_type f = regbase::normal);
|
unsigned int BOOST_RE_CALL set_expression(const charT* p, const charT* end, flag_type f = regbase::normal);
|
||||||
|
Reference in New Issue
Block a user