user.hpp 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. // #define BOOST_REGEX_RECURSIVE
  52. // define this if you want to use the non-recursive
  53. // algorithm, even if the recursive version would be the default.
  54. // #define BOOST_REGEX_NON_RECURSIVE
  55. // define this if you want to set the size of the memory blocks
  56. // used by the non-recursive algorithm.
  57. // #define BOOST_REGEX_BLOCKSIZE 4096
  58. // define this if you want to set the maximum number of memory blocks
  59. // used by the non-recursive algorithm.
  60. // #define BOOST_REGEX_MAX_BLOCKS 1024
  61. // define this if you want to set the maximum number of memory blocks
  62. // cached by the non-recursive algorithm: Normally this is 16, but can be
  63. // higher if you have multiple threads all using boost.regex, or lower
  64. // if you don't want boost.regex to cache memory.
  65. // #define BOOST_REGEX_MAX_CACHE_BLOCKS 16
  66. // define this if you want to be able to access extended capture
  67. // information in your sub_match's (caution this will slow things
  68. // down quite a bit).
  69. // #define BOOST_REGEX_MATCH_EXTRA
  70. // define this if you want to enable support for Unicode via ICU.
  71. // #define BOOST_HAS_ICU
  72. // define this if you want regex to use __cdecl calling convensions, even when __fastcall is available:
  73. // #define BOOST_REGEX_NO_FASTCALL