mirror of
https://github.com/boostorg/preprocessor.git
synced 2025-07-24 09:17:14 +02:00
fixed bibliography links
[SVN r16155]
This commit is contained in:
@ -69,7 +69,7 @@ yes_type is_function_tester(R (*)(A0, A1, A2));
|
||||
Library support is needed!
|
||||
</div>
|
||||
<div>
|
||||
<i>For detailed information on the capabilities and limitations of the preprocessor, please refer to the C++ standard <a href="bibliography.html#std">[Std]</a>.</i>
|
||||
<i>For detailed information on the capabilities and limitations of the preprocessor, please refer to the C++ standard <a href="../bibliography.html#std">[Std]</a>.</i>
|
||||
</div>
|
||||
<h4>The Motivation Example Revisited</h4>
|
||||
<div>
|
||||
|
@ -39,8 +39,8 @@ BOOST_PP_DEF(/)
|
||||
</div>
|
||||
<div>
|
||||
<b>Notes:</b> You can extend this example by defining more and different kinds of operators.
|
||||
Before doing so, consider using the <i>algebraic categories</i> technique introduced in <a href="bibliography.html#barton">[Barton]</a>
|
||||
or a <i>layered architecture</i> (see for instance <a href="bibliography.html#czarnecki">[Czarnecki]</a>).
|
||||
Before doing so, consider using the <i>algebraic categories</i> technique introduced in <a href="../bibliography.html#barton">[Barton]</a>
|
||||
or a <i>layered architecture</i> (see for instance <a href="../bibliography.html#czarnecki">[Czarnecki]</a>).
|
||||
However, at some point you must type the operator tokens <code>*</code>, <code>/</code>, <code>+</code>, <code>-</code>, etc.,
|
||||
because it is impossible to generate them using templates.
|
||||
The resulting <i>categorical repetition</i> of tokens can be eliminated by using preprocessor metaprogramming.
|
||||
@ -213,7 +213,7 @@ BOOST_PP_REPEAT(ARITHMETIC_TYPE_CNT, BOOST_PP_DEF, _)
|
||||
#undef BOOST_PP_DEF
|
||||
</pre></div>
|
||||
<div>
|
||||
<b>Note:</b> The repetition of the above example can be eliminated using template metaprogramming <a href="bibliography.html#czarnecki">[Czarnecki]</a> as well.
|
||||
<b>Note:</b> The repetition of the above example can be eliminated using template metaprogramming <a href="../bibliography.html#czarnecki">[Czarnecki]</a> as well.
|
||||
However categorical repetition of operator tokens cannot be completely eliminated by using template metaprogramming.
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user