diff --git a/doc/doxygen_reference.dox b/doc/doxygen_reference.dox index 9d9314b..bbb35f2 100644 --- a/doc/doxygen_reference.dox +++ b/doc/doxygen_reference.dox @@ -309,7 +309,7 @@ RECURSIVE = YES # excluded from the INPUT source files. This way you can easily exclude a # subdirectory from a directory tree whose root is specified with the INPUT tag. -EXCLUDE = +EXCLUDE = detail # If the value of the INPUT tag contains directories, you can use the # EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude @@ -420,7 +420,7 @@ GENERATE_HTML = YES # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `html' will be used as the default path. -HTML_OUTPUT = "reference" +HTML_OUTPUT = reference # The HTML_HEADER tag can be used to specify a personal HTML header for # each generated HTML page. If it is left blank doxygen will generate a diff --git a/doc/keywords.txt b/doc/keywords.txt index 2532519..0faf544 100644 --- a/doc/keywords.txt +++ b/doc/keywords.txt @@ -25,6 +25,7 @@ BOOST_PREPROCESSOR_LIMIT_MAG BOOST_PREPROCESSOR_LIMIT_TUPLE BOOST_PREPROCESSOR_MAX BOOST_PREPROCESSOR_MIN +BOOST_PREPROCESSOR_MOD BOOST_PREPROCESSOR_MUL BOOST_PREPROCESSOR_NOR BOOST_PREPROCESSOR_NOT diff --git a/doc/reference/files.html b/doc/reference/files.html index d6953a9..07b0380 100644 --- a/doc/reference/files.html +++ b/doc/reference/files.html @@ -35,6 +35,7 @@ logical.hpp max.hpp min.hpp + mod.hpp mul.hpp nor.hpp not.hpp diff --git a/doc/reference/globals.html b/doc/reference/globals.html index 542c6e1..9fd7c95 100644 --- a/doc/reference/globals.html +++ b/doc/reference/globals.html @@ -34,7 +34,8 @@ : limits.hpp
  • BOOST_PREPROCESSOR_LIMIT_TUPLE : limits.hpp
  • BOOST_PREPROCESSOR_MAX : max.hpp
  • BOOST_PREPROCESSOR_MIN -: min.hpp
  • BOOST_PREPROCESSOR_MUL +: min.hpp
  • BOOST_PREPROCESSOR_MOD +: mod.hpp
  • BOOST_PREPROCESSOR_MUL : mul.hpp
  • BOOST_PREPROCESSOR_NOR : nor.hpp
  • BOOST_PREPROCESSOR_NOT : not.hpp
  • BOOST_PREPROCESSOR_NOT_EQUAL diff --git a/doc/reference/mod_8hpp.html b/doc/reference/mod_8hpp.html new file mode 100644 index 0000000..7f6216b --- /dev/null +++ b/doc/reference/mod_8hpp.html @@ -0,0 +1,57 @@ +c++boost.gif (8819 bytes) +
    + +
    +Main Page   File List   File Members  
    +

    mod.hpp File Reference

    + + + +

    Defines

    #define BOOST_PREPROCESSOR_MOD(X, Y)
     Expands to the remainder of X and Y. More...

    +

    Detailed Description

    + Click here to see the header. +

    +


    Define Documentation

    +

    + + + + +
    + + + + + + + + + + +
    #define BOOST_PREPROCESSOR_MODX,
      +
    +
    + + + + + +
    +   + + +

    +Expands to the remainder of X and Y. +

    +

    +


    +

    © Copyright Housemarque Oy 2001

    +

    Permission to copy, use, modify, sell and distribute this document is granted + provided this copyright notice appears in all copies. This document is provided + "as is" without express or implied warranty, and with no claim as to its suitability + for any purpose.

    + +

    Generated:

    diff --git a/doc/reference/while_8hpp.html b/doc/reference/while_8hpp.html index 2c0262e..8f3f324 100644 --- a/doc/reference/while_8hpp.html +++ b/doc/reference/while_8hpp.html @@ -47,6 +47,8 @@

    CURRENTLY THIS FEATURE IS FOR INTERNAL USE ONLY!

    +RATIONALE:

    diff --git a/test/preprocessor_test.cpp b/test/preprocessor_test.cpp index b976e01..775398f 100644 --- a/test/preprocessor_test.cpp +++ b/test/preprocessor_test.cpp @@ -162,6 +162,12 @@ int test_arithmetic_32[0+(BOOST_PREPROCESSOR_MIN(1,2)==1)]; int test_arithmetic_33[0+(BOOST_PREPROCESSOR_MAX(3,2)==3)]; int test_arithmetic_34[0+(BOOST_PREPROCESSOR_MAX(4,5)==5)]; +int test_arithmetic_35[0+(BOOST_PREPROCESSOR_MUL(50,50)==BOOST_PREPROCESSOR_LIMIT_MAG)]; + +int test_arithmetic_36[0+(BOOST_PREPROCESSOR_MOD(50,50)==0)]; +int test_arithmetic_37[0+(BOOST_PREPROCESSOR_MOD(34,5)==4)]; +int test_arithmetic_38[0+(BOOST_PREPROCESSOR_MOD(31,4)==3)]; + // *** int