Chris@16
|
1 /*
|
Chris@16
|
2 *
|
Chris@16
|
3 * Copyright (c) 1998-2002
|
Chris@16
|
4 * John Maddock
|
Chris@16
|
5 *
|
Chris@16
|
6 * Use, modification and distribution are subject to the
|
Chris@16
|
7 * Boost Software License, Version 1.0. (See accompanying file
|
Chris@16
|
8 * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
Chris@16
|
9 *
|
Chris@16
|
10 */
|
Chris@16
|
11
|
Chris@16
|
12 /*
|
Chris@16
|
13 * LOCATION: see http://www.boost.org for most recent version.
|
Chris@16
|
14 * FILE user.hpp
|
Chris@16
|
15 * VERSION see <boost/version.hpp>
|
Chris@16
|
16 * DESCRIPTION: User settable options.
|
Chris@16
|
17 */
|
Chris@16
|
18
|
Chris@16
|
19 // define if you want the regex library to use the C locale
|
Chris@16
|
20 // even on Win32:
|
Chris@16
|
21 // #define BOOST_REGEX_USE_C_LOCALE
|
Chris@16
|
22
|
Chris@16
|
23 // define this is you want the regex library to use the C++
|
Chris@16
|
24 // locale:
|
Chris@16
|
25 // #define BOOST_REGEX_USE_CPP_LOCALE
|
Chris@16
|
26
|
Chris@16
|
27 // define this if the runtime library is a dll, and you
|
Chris@16
|
28 // want BOOST_REGEX_DYN_LINK to set up dll exports/imports
|
Chris@16
|
29 // with __declspec(dllexport)/__declspec(dllimport.)
|
Chris@16
|
30 // #define BOOST_REGEX_HAS_DLL_RUNTIME
|
Chris@16
|
31
|
Chris@16
|
32 // define this if you want to dynamically link to regex,
|
Chris@16
|
33 // if the runtime library is also a dll (Probably Win32 specific,
|
Chris@16
|
34 // and has no effect unless BOOST_REGEX_HAS_DLL_RUNTIME is set):
|
Chris@16
|
35 // #define BOOST_REGEX_DYN_LINK
|
Chris@16
|
36
|
Chris@16
|
37 // define this if you don't want the lib to automatically
|
Chris@16
|
38 // select its link libraries:
|
Chris@16
|
39 // #define BOOST_REGEX_NO_LIB
|
Chris@16
|
40
|
Chris@16
|
41 // define this if templates with switch statements cause problems:
|
Chris@16
|
42 // #define BOOST_REGEX_NO_TEMPLATE_SWITCH_MERGE
|
Chris@16
|
43
|
Chris@16
|
44 // define this to disable Win32 support when available:
|
Chris@16
|
45 // #define BOOST_REGEX_NO_W32
|
Chris@16
|
46
|
Chris@16
|
47 // define this if bool is not a real type:
|
Chris@16
|
48 // #define BOOST_REGEX_NO_BOOL
|
Chris@16
|
49
|
Chris@16
|
50 // define this if no template instances are to be placed in
|
Chris@16
|
51 // the library rather than users object files:
|
Chris@16
|
52 // #define BOOST_REGEX_NO_EXTERNAL_TEMPLATES
|
Chris@16
|
53
|
Chris@16
|
54 // define this if the forward declarations in regex_fwd.hpp
|
Chris@16
|
55 // cause more problems than they are worth:
|
Chris@16
|
56 // #define BOOST_REGEX_NO_FWD
|
Chris@16
|
57
|
Chris@16
|
58 // define this if your compiler supports MS Windows structured
|
Chris@16
|
59 // exception handling.
|
Chris@16
|
60 // #define BOOST_REGEX_HAS_MS_STACK_GUARD
|
Chris@16
|
61
|
Chris@16
|
62 // define this if you want to use the recursive algorithm
|
Chris@16
|
63 // even if BOOST_REGEX_HAS_MS_STACK_GUARD is not defined.
|
Chris@16
|
64 // #define BOOST_REGEX_RECURSIVE
|
Chris@16
|
65
|
Chris@16
|
66 // define this if you want to use the non-recursive
|
Chris@16
|
67 // algorithm, even if the recursive version would be the default.
|
Chris@16
|
68 // #define BOOST_REGEX_NON_RECURSIVE
|
Chris@16
|
69
|
Chris@16
|
70 // define this if you want to set the size of the memory blocks
|
Chris@16
|
71 // used by the non-recursive algorithm.
|
Chris@16
|
72 // #define BOOST_REGEX_BLOCKSIZE 4096
|
Chris@16
|
73
|
Chris@16
|
74 // define this if you want to set the maximum number of memory blocks
|
Chris@16
|
75 // used by the non-recursive algorithm.
|
Chris@16
|
76 // #define BOOST_REGEX_MAX_BLOCKS 1024
|
Chris@16
|
77
|
Chris@16
|
78 // define this if you want to set the maximum number of memory blocks
|
Chris@16
|
79 // cached by the non-recursive algorithm: Normally this is 16, but can be
|
Chris@16
|
80 // higher if you have multiple threads all using boost.regex, or lower
|
Chris@16
|
81 // if you don't want boost.regex to cache memory.
|
Chris@16
|
82 // #define BOOST_REGEX_MAX_CACHE_BLOCKS 16
|
Chris@16
|
83
|
Chris@16
|
84 // define this if you want to be able to access extended capture
|
Chris@16
|
85 // information in your sub_match's (caution this will slow things
|
Chris@16
|
86 // down quite a bit).
|
Chris@16
|
87 // #define BOOST_REGEX_MATCH_EXTRA
|
Chris@16
|
88
|
Chris@16
|
89 // define this if you want to enable support for Unicode via ICU.
|
Chris@16
|
90 // #define BOOST_HAS_ICU
|
Chris@16
|
91
|
Chris@16
|
92 // define this if you want regex to use __cdecl calling convensions, even when __fastcall is available:
|
Chris@16
|
93 // #define BOOST_REGEX_NO_FASTCALL
|