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