vmd_internal.qbk 1.5 KB

123456789101112131415161718192021222324252627282930
  1. [/
  2. (C) Copyright Edward Diener 2011-2015
  3. Distributed under the Boost Software License, Version 1.0.
  4. (See accompanying file LICENSE_1_0.txt or copy at
  5. http://www.boost.org/LICENSE_1_0.txt).
  6. ]
  7. [section:vmd_internal_macros Controlling internal usage]
  8. VMD has a few object-like macros which the end-user of the library can use
  9. to determine or change the way variadic macros are used in the library.
  10. The macro BOOST_PP_VARIADICS is part of the Boost PP library, not part of VMD.
  11. It is used to denote whether variadic data support exists for the particular compiler
  12. the end-user is using. VMD also uses this macro to determine whether variadic
  13. data support exists. An end-user of VMD can use this macro in his own design
  14. to determine whether or not variadic macros are supported. Furthermore
  15. an end-user of VMD can set this macro to 0 or non-zero, before including
  16. a VMD header file, to force VMD to treat the particular compiler being
  17. used as not supporting or supporting variadic macros. If a compiler does
  18. not support variadic macro none of the macros in VMD are defined.
  19. The macro BOOST_VMD_ASSERT_DATA controls whether or not an assert macro
  20. will check its data. The default is that in compiler debug mode it will check the
  21. data while in compiler release mode it will not check its data. The end-user can
  22. change this by setting the macro to 0 to not check the data, or non-zero to check
  23. the data, before including a VMD header file, or check the value if necessary after
  24. including a VMD header file.
  25. [endsect]