mirror of
https://github.com/boostorg/preprocessor.git
synced 2025-08-01 21:24:25 +02:00
Upgrade docs to say that variadic macros must be supported by the compiler.
This commit is contained in:
@@ -1,23 +1,35 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta content="text/html; charset=windows-1252" http-equiv="content-type">
|
<meta content="text/html; charset=windows-1252"
|
||||||
|
http-equiv="content-type">
|
||||||
<title>title.html</title>
|
<title>title.html</title>
|
||||||
<link rel="stylesheet" type="text/css" href="styles.css">
|
<link rel="stylesheet" type="text/css" href="styles.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h4>Introduction</h4>
|
<h4>Introduction</h4>
|
||||||
<div> The Boost Preprocessing library is a library of macros, with support
|
<div> The Boost Preprocessing library is a library of macros, with
|
||||||
for preprocessor metaprogramming. The library supports both C++ and C
|
support for preprocessor metaprogramming. The library supports
|
||||||
compilation. It does not depend on any other Boost libraries and therefore
|
both C++ and C compilation. It does not depend on any other Boost
|
||||||
may be used as a standalone library. </div>
|
libraries and therefore may be used as a standalone library.<br>
|
||||||
<div> An excerpt from <i>C++ Template Metaprogramming: Concepts, Tools, and
|
<br>
|
||||||
Techniques from Boost and Beyond</i> by Dave Abrahams and Aleksey
|
The library assumes that the compiler supports variadic macros.
|
||||||
Gurtovoy has been made <a href="AppendixA-AnIntroductiontoPreprocessorMetaprogramming.html"
|
Since variadic macros are a C99 or C++11 feature the library
|
||||||
target="_top"><font color="blue"><b><u><i>available</i></u></b></font></a>.
|
ostensibly requires at least compilation at those C or C++
|
||||||
This excerpt contains a basic introduction to the Preprocessor library and
|
standard levels. A number of compilers support variadic macros at
|
||||||
preprocessor metaprogramming which may help users new to the library and
|
a lower level, so it still may be possible using the library at
|
||||||
users interested in seeing some of the facilities offered by the library.
|
the C++03 compilation level, as long as strict C++03 compliance is
|
||||||
|
not enforced.<br>
|
||||||
</div>
|
</div>
|
||||||
|
<div> An excerpt from <i>C++ Template Metaprogramming: Concepts,
|
||||||
|
Tools, and Techniques from Boost and Beyond</i> by Dave Abrahams
|
||||||
|
and Aleksey Gurtovoy has been made <a
|
||||||
|
href="AppendixA-AnIntroductiontoPreprocessorMetaprogramming.html"
|
||||||
|
target="_top"><font color="blue"><b><u><i>available</i></u></b></font></a>.
|
||||||
|
This excerpt contains a basic introduction to the Preprocessor
|
||||||
|
library and preprocessor metaprogramming which may help users new
|
||||||
|
to the library and users interested in seeing some of the
|
||||||
|
facilities offered by the library. </div>
|
||||||
<!--
|
<!--
|
||||||
<EFBFBD> Copyright Housemarque Oy 2002<30> Copyright Paul Mensonides 2002Distributed under the Boost Software License, Version 1.0.(See accompanying file LICENSE_1_0.txt or copy at
|
<EFBFBD> Copyright Housemarque Oy 2002<30> Copyright Paul Mensonides 2002Distributed under the Boost Software License, Version 1.0.(See accompanying file LICENSE_1_0.txt or copy at
|
||||||
http://www.boost.org/LICENSE_1_0.txt)-->
|
http://www.boost.org/LICENSE_1_0.txt)-->
|
||||||
|
@@ -113,9 +113,8 @@
|
|||||||
BOOST_PP_NOT_EQUAL depend on BOOST_PP_WHILE. So whatever is
|
BOOST_PP_NOT_EQUAL depend on BOOST_PP_WHILE. So whatever is
|
||||||
the value for BOOST_PP_LIMIT_MAG is also the value for
|
the value for BOOST_PP_LIMIT_MAG is also the value for
|
||||||
BOOST_PP_LIMIT_WHILE.</li>
|
BOOST_PP_LIMIT_WHILE.</li>
|
||||||
<li>BOOST_PP_LIMIT_TUPLE depends on BOOST_PP_LIMIT_VARIADIC when
|
<li>BOOST_PP_LIMIT_TUPLE depends on BOOST_PP_LIMIT_VARIADIC,
|
||||||
variadic macros are supported, since in that case array/tuple
|
since array/tuple functionality often ends up calling variadic data
|
||||||
functionality often ends up calling variadic data
|
|
||||||
functionality. So while BOOST_PP_LIMIT_TUPLE can be smaller
|
functionality. So while BOOST_PP_LIMIT_TUPLE can be smaller
|
||||||
than BOOST_PP_LIMIT_VARIADIC it can never be larger.<br>
|
than BOOST_PP_LIMIT_VARIADIC it can never be larger.<br>
|
||||||
</li>
|
</li>
|
||||||
@@ -204,8 +203,7 @@
|
|||||||
least equal to BOOST_PP_LIMIT_TUPLE if the value of
|
least equal to BOOST_PP_LIMIT_TUPLE if the value of
|
||||||
BOOST_PP_LIMIT_VARIADIC has not also been changed to be
|
BOOST_PP_LIMIT_VARIADIC has not also been changed to be
|
||||||
greater than BOOST_PP_LIMIT_TUPLE. This is because
|
greater than BOOST_PP_LIMIT_TUPLE. This is because
|
||||||
tuples/arrays depend on variadic functionality when variadic
|
tuples/arrays depend on variadic functionality.</li>
|
||||||
macros are supported..</li>
|
|
||||||
<li>BOOST_PP_LIMIT_SEQ, BOOST_PP_LIMIT_FOR,
|
<li>BOOST_PP_LIMIT_SEQ, BOOST_PP_LIMIT_FOR,
|
||||||
BOOST_PP_LIMIT_REPEAT, BOOST_PP_LIMIT_ITERATION: If you try to
|
BOOST_PP_LIMIT_REPEAT, BOOST_PP_LIMIT_ITERATION: If you try to
|
||||||
set any of these values greater than the BOOST_PP_LIMIT_MAG
|
set any of these values greater than the BOOST_PP_LIMIT_MAG
|
||||||
|
Reference in New Issue
Block a user