mirror of
https://github.com/boostorg/regex.git
synced 2025-07-16 05:42:15 +02:00
regex configuration tweeks, and point release.
[SVN r9225]
This commit is contained in:
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE cregex.cpp
|
||||
* VERSION 3.03
|
||||
* VERSION 3.04
|
||||
* DESCRIPTION: Declares POSIX API functions
|
||||
* + boost::RegEx high level wrapper.
|
||||
*/
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE fileiter.hpp
|
||||
* VERSION 3.03
|
||||
* VERSION 3.04
|
||||
* DESCRIPTION: Declares various platform independent file and
|
||||
* directory iterators, plus binary file input in
|
||||
* the form of class map_file.
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex_compile.hpp
|
||||
* VERSION 3.03
|
||||
* VERSION 3.04
|
||||
* DESCRIPTION: Declares reg_expression<> member functions. This is
|
||||
* an internal header file, do not include directly.
|
||||
*/
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex_config.hpp
|
||||
* VERSION 3.03
|
||||
* VERSION 3.04
|
||||
* DESCRIPTION: auto-configure options for regular expression code.
|
||||
*/
|
||||
|
||||
@ -319,25 +319,40 @@ Do not change this file unless you really really have to, add options to
|
||||
#define BOOST_RE_NO_TEMPLATE_FRIEND
|
||||
#endif
|
||||
|
||||
#ifdef __HP_aCC
|
||||
#if defined(__HP_aCC) || defined(__hpux)
|
||||
// putative HP aCC support, run configure for
|
||||
// support tailored to your system....
|
||||
# if (__HP_aCC < 31400)
|
||||
// non-conformant aCC:
|
||||
#define BOOST_RE_NO_NAMESPACES
|
||||
#define BOOST_RE_NO_MUTABLE
|
||||
#define BOOST_RE_NO_MEMBER_TEMPLATES
|
||||
#define BOOST_RE_OLD_IOSTREAM
|
||||
#ifndef __STL_USE_NAMESPACES
|
||||
#define BOOST_RE_NO_EXCEPTION_H
|
||||
#endif
|
||||
#define BOOST_RE_INT64t long long
|
||||
#define BOOST_RE_IMM64(val) val##LL
|
||||
#define BOOST_RE_NESTED_TEMPLATE_DECL
|
||||
#define BOOST_RE_NO_TEMPLATE_FRIEND
|
||||
#else
|
||||
#if !defined(_NAMESPACE_STD)
|
||||
#define BOOST_RE_OLD_IOSTREAM
|
||||
#ifndef __STL_USE_NAMESPACES
|
||||
#define BOOST_RE_NO_EXCEPTION_H
|
||||
#endif
|
||||
#endif
|
||||
#define BOOST_RE_NESTED_TEMPLATE_DECL template
|
||||
#endif
|
||||
#define BOOST_RE_NO_MEMBER_TEMPLATES
|
||||
#define BOOST_RE_NO_MEMORY_H
|
||||
#define BOOST_RE_INT64t long long
|
||||
#define BOOST_RE_IMM64(val) val##LL
|
||||
#define BOOST_RE_NO_SWPRINTF
|
||||
#define BOOST_RE_NO_CAT
|
||||
#endif
|
||||
|
||||
#ifdef __sgi // SGI IRIX C++
|
||||
#define BOOST_RE_NO_SWPRINTF
|
||||
// bring in stl version:
|
||||
#include <memory>
|
||||
#if defined(__SGI_STL_PORT)
|
||||
// STLPort on IRIX is misconfigured: <cwctype> does not compile
|
||||
// as a temporary fix include <wctype.h> instead and prevent inclusion
|
||||
@ -504,7 +519,7 @@ typedef unsigned long jm_uintfast32_t;
|
||||
//#define BOOST_RE_NO_NOT_EQUAL
|
||||
#endif
|
||||
|
||||
#elif defined(_RWSTD_VER)
|
||||
#elif defined(_RWSTD_VER) || defined(__STD_ITERATOR__)
|
||||
|
||||
/* Rogue Wave STL */
|
||||
// Sometimes we have a four figure version number, sometimes a
|
||||
@ -575,7 +590,7 @@ typedef unsigned long jm_uintfast32_t;
|
||||
|
||||
#include <memory>
|
||||
|
||||
#ifdef _RWSTD_ALLOCATOR
|
||||
#if defined(_RWSTD_ALLOCATOR) && !defined(BOOST_RE_NO_MEMORY_H) && !defined(BOOST_RE_NO_MEMBER_TEMPLATES)
|
||||
|
||||
/* new style allocator */
|
||||
|
||||
@ -636,9 +651,9 @@ typedef unsigned long jm_uintfast32_t;
|
||||
|
||||
#define BOOST_RE_STL_DONE
|
||||
|
||||
#elif defined (BOOST_MSVC)
|
||||
#elif (defined(BOOST_MSVC) || defined(__ICL)) && (defined(_YVALS) || defined(_CPPLIB_VER))
|
||||
|
||||
/* assume we're using MS's own STL (VC++ 5/6) */
|
||||
/* VC6 or Intel C++, with Dinkum STL */
|
||||
#define BOOST_RE_NO_OI_ASSIGN
|
||||
|
||||
#define BOOST_RE_DISTANCE(i, j, n) n = std::distance(i, j)
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex_cstring.hpp
|
||||
* VERSION 3.03
|
||||
* VERSION 3.04
|
||||
* DESCRIPTION: This is an internal header file, do not include directly.
|
||||
* String support and helper functions, for regular
|
||||
* expression library.
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex_format.hpp
|
||||
* VERSION 3.03
|
||||
* VERSION 3.04
|
||||
* DESCRIPTION: Provides formatting output routines for search and replace
|
||||
* operations. Note this is an internal header file included
|
||||
* by regex.hpp, do not include on its own.
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex_kmp.hpp
|
||||
* VERSION 3.03
|
||||
* VERSION 3.04
|
||||
* DESCRIPTION: Provides Knuth Morris Pratt search operations.
|
||||
* Note this is an internal header file included
|
||||
* by regex.hpp, do not include on its own.
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex_libary_include.hpp
|
||||
* VERSION 3.03
|
||||
* VERSION 3.04
|
||||
* DESCRIPTION: Automatic library inclusion for Borland/Microsoft compilers.
|
||||
* Note this is an internal header file included
|
||||
* by regex.hpp, do not include on its own.
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex_match.hpp
|
||||
* VERSION 3.03
|
||||
* VERSION 3.04
|
||||
* DESCRIPTION: Regular expression matching algorithms.
|
||||
* Note this is an internal header file included
|
||||
* by regex.hpp, do not include on its own.
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex_raw_buffer.hpp
|
||||
* VERSION 3.03
|
||||
* VERSION 3.04
|
||||
* DESCRIPTION: Raw character buffer for regex code.
|
||||
* Note this is an internal header file included
|
||||
* by regex.hpp, do not include on its own.
|
||||
@ -109,9 +109,9 @@ class raw_storage
|
||||
{
|
||||
public:
|
||||
typedef Allocator allocator_type;
|
||||
typedef typename REBIND_TYPE(unsigned char, allocator_type)::size_type size_type;
|
||||
typedef BOOST_RE_MAYBE_TYPENAME REBIND_TYPE(unsigned char, allocator_type) alloc_inst_type;
|
||||
typedef typename REBIND_TYPE(unsigned char, allocator_type)::pointer pointer;
|
||||
typedef typename alloc_inst_type::size_type size_type;
|
||||
typedef typename alloc_inst_type::pointer pointer;
|
||||
private:
|
||||
//
|
||||
// empty member optimisation:
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex_split.hpp
|
||||
* VERSION 3.03
|
||||
* VERSION 3.04
|
||||
* DESCRIPTION: Implements regex_split and associated functions.
|
||||
* Note this is an internal header file included
|
||||
* by regex.hpp, do not include on its own.
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex_stack.hpp
|
||||
* VERSION 3.03
|
||||
* VERSION 3.04
|
||||
* DESCRIPTION: Implements customised internal regex stacks.
|
||||
* Note this is an internal header file included
|
||||
* by regex.hpp, do not include on its own.
|
||||
@ -53,7 +53,8 @@ class jstack
|
||||
{
|
||||
private:
|
||||
typedef BOOST_RE_MAYBE_TYPENAME REBIND_TYPE(unsigned char, Allocator) allocator_type;
|
||||
typedef typename REBIND_TYPE(T, Allocator)::size_type size_type;
|
||||
typedef BOOST_RE_MAYBE_TYPENAME REBIND_TYPE(T, Allocator) T_alloc_type;
|
||||
typedef typename T_alloc_type::size_type size_type;
|
||||
typedef T value_type;
|
||||
struct node
|
||||
{
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex_synch.hpp
|
||||
* VERSION 3.03
|
||||
* VERSION 3.04
|
||||
* DESCRIPTION: Thread synchronisation for regex code.
|
||||
* Note this is an internal header file included
|
||||
* by regex.hpp, do not include on its own.
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex.h
|
||||
* VERSION 3.03
|
||||
* VERSION 3.04
|
||||
* DESCRIPTION: Declares POSIX API functions
|
||||
*/
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex.cpp
|
||||
* VERSION 3.03
|
||||
* VERSION 3.04
|
||||
* DESCRIPTION: Declares boost::reg_expression<> and associated
|
||||
* functions and classes. This header is the main
|
||||
* entry point for the template regex code.
|
||||
@ -836,7 +836,8 @@ class match_results_base
|
||||
{
|
||||
public:
|
||||
typedef Allocator alloc_type;
|
||||
typedef typename REBIND_TYPE(iterator, Allocator)::size_type size_type;
|
||||
typedef BOOST_RE_MAYBE_TYPENAME REBIND_TYPE(iterator, Allocator) iterator_alloc;
|
||||
typedef iterator_alloc::size_type size_type;
|
||||
#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
||||
typedef typename std::iterator_traits<iterator>::difference_type difference_type;
|
||||
typedef typename std::iterator_traits<iterator>::value_type char_type;
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex.cpp
|
||||
* VERSION 3.03
|
||||
* VERSION 3.04
|
||||
* DESCRIPTION: Declares regular expression traits classes.
|
||||
*/
|
||||
|
||||
|
Reference in New Issue
Block a user