user.hpp 3.2 KB

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