mirror of
https://github.com/boostorg/regex.git
synced 2025-07-13 04:16:37 +02:00
First round of config fixes
[SVN r11146]
This commit is contained in:
@ -434,7 +434,11 @@ struct def_alloc_param_traits<const wchar_t*>
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template <class iterator, class Allocator = BOOST_DEFAULT_ALLOCATOR(re_detail::def_alloc_param_traits<iterator>::type) >
|
template <class iterator, class Allocator =
|
||||||
|
#ifndef BOOST_MSVC
|
||||||
|
typename
|
||||||
|
#endif
|
||||||
|
BOOST_DEFAULT_ALLOCATOR(re_detail::def_alloc_param_traits<iterator>::type) >
|
||||||
class match_results;
|
class match_results;
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1,3 +1,24 @@
|
|||||||
|
/*
|
||||||
|
*
|
||||||
|
* Copyright (c) 1998-2000
|
||||||
|
* Dr John Maddock
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, distribute and sell this software
|
||||||
|
* and its documentation for any purpose is hereby granted without fee,
|
||||||
|
* provided that the above copyright notice appear in all copies and
|
||||||
|
* that both that copyright notice and this permission notice appear
|
||||||
|
* in supporting documentation. Dr John Maddock makes no representations
|
||||||
|
* about the suitability of this software for any purpose.
|
||||||
|
* It is provided "as is" without express or implied warranty.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
|
* FILE config.hpp
|
||||||
|
* VERSION 3.12
|
||||||
|
* DESCRIPTION: regex extended config setup.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef BOOST_REGEX_CONFIG_HPP
|
#ifndef BOOST_REGEX_CONFIG_HPP
|
||||||
#define BOOST_REGEX_CONFIG_HPP
|
#define BOOST_REGEX_CONFIG_HPP
|
||||||
@ -503,3 +524,5 @@ inline void construct(T* p, const T& t)
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE pattern_except.cpp
|
* FILE pattern_except.hpp
|
||||||
* VERSION 3.12
|
* VERSION 3.12
|
||||||
* DESCRIPTION: Declares pattern-matching exception classes.
|
* DESCRIPTION: Declares pattern-matching exception classes.
|
||||||
*/
|
*/
|
||||||
@ -53,3 +53,4 @@ public:
|
|||||||
} // namespace boost
|
} // namespace boost
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE regex.cpp
|
* FILE regex_traits.hpp
|
||||||
* VERSION 3.12
|
* VERSION 3.12
|
||||||
* DESCRIPTION: Declares regular expression traits classes.
|
* DESCRIPTION: Declares regular expression traits classes.
|
||||||
*/
|
*/
|
||||||
@ -790,3 +790,4 @@ class regex_traits : public cpp_regex_traits<charT>
|
|||||||
|
|
||||||
#endif // include
|
#endif // include
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,3 +1,24 @@
|
|||||||
|
/*
|
||||||
|
*
|
||||||
|
* Copyright (c) 1998-2000
|
||||||
|
* Dr John Maddock
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, distribute and sell this software
|
||||||
|
* and its documentation for any purpose is hereby granted without fee,
|
||||||
|
* provided that the above copyright notice appear in all copies and
|
||||||
|
* that both that copyright notice and this permission notice appear
|
||||||
|
* in supporting documentation. Dr John Maddock makes no representations
|
||||||
|
* about the suitability of this software for any purpose.
|
||||||
|
* It is provided "as is" without express or implied warranty.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
|
* FILE user.hpp
|
||||||
|
* VERSION 3.12
|
||||||
|
* DESCRIPTION: User settable options.
|
||||||
|
*/
|
||||||
|
|
||||||
// define if you want the regex library to use the C locale
|
// define if you want the regex library to use the C locale
|
||||||
// even on Win32:
|
// even on Win32:
|
||||||
@ -25,3 +46,5 @@
|
|||||||
// #define BOOST_REGEX_NO_BOOL
|
// #define BOOST_REGEX_NO_BOOL
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
|
|
||||||
// disable automatic selection of support library:
|
// disable automatic selection of support library:
|
||||||
#define BOOST_REGEX_NO_LIB
|
#define BOOST_REGEX_NO_LIB
|
||||||
|
#define BOOST_REGEX_STATIC_LINK
|
||||||
|
|
||||||
#include <boost/regex.hpp>
|
#include <boost/regex.hpp>
|
||||||
#include <boost/regex/src.cpp>
|
#include <boost/regex/src.cpp>
|
||||||
|
@ -126,8 +126,8 @@ public:
|
|||||||
typedef const T* const_pointer;
|
typedef const T* const_pointer;
|
||||||
typedef T& reference;
|
typedef T& reference;
|
||||||
typedef const T& const_reference;
|
typedef const T& const_reference;
|
||||||
typedef size_t size_type;
|
typedef std::size_t size_type;
|
||||||
typedef ptrdiff_t difference_type;
|
typedef std::ptrdiff_t difference_type;
|
||||||
typedef Base base_type;
|
typedef Base base_type;
|
||||||
|
|
||||||
allocator_binder(){}
|
allocator_binder(){}
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
|
|
||||||
// disable automatic selection of support library:
|
// disable automatic selection of support library:
|
||||||
#define BOOST_REGEX_NO_LIB
|
#define BOOST_REGEX_NO_LIB
|
||||||
|
#define BOOST_REGEX_STATIC_LINK
|
||||||
|
|
||||||
#if defined(_MSC_VER) && defined(__STL_DEBUG) && defined(_DLL)
|
#if defined(_MSC_VER) && defined(__STL_DEBUG) && defined(_DLL)
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user