forked from boostorg/preprocessor
boost.css
[SVN r13956]
This commit is contained in:
@ -3,7 +3,7 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
<title>Boost.Preprocessor - Acknowledgements</title>
|
<title>Boost.Preprocessor - Acknowledgements</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -32,9 +32,9 @@
|
|||||||
</p>
|
</p>
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Bibliography</title>
|
<title>Boost.Preprocessor - Bibliography</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -39,9 +40,9 @@
|
|||||||
</p>
|
</p>
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Bibliography</title>
|
<title>Boost.Preprocessor - Bibliography</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -82,9 +83,9 @@ the actual C code.</td></tr>
|
|||||||
</p>
|
</p>
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Tutorial examples preprocessed</title>
|
<title>Boost.Preprocessor - Tutorial examples preprocessed</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -25,8 +26,7 @@
|
|||||||
<p><strong><a name="Local Macro"></a><a href="tutorial.htm#Local Macro">EXAMPLE</a>:</strong>
|
<p><strong><a name="Local Macro"></a><a href="tutorial.htm#Local Macro">EXAMPLE</a>:</strong>
|
||||||
Use a Local Macro to avoid small scale repetition</p>
|
Use a Local Macro to avoid small scale repetition</p>
|
||||||
|
|
||||||
<blockquote>
|
<pre>template<class T, int n>
|
||||||
<pre>template<class T, int n>
|
|
||||||
vec<T,n>&
|
vec<T,n>&
|
||||||
operator +=
|
operator +=
|
||||||
( vec<T,n>&
|
( vec<T,n>&
|
||||||
@ -78,14 +78,12 @@ vec<T,n>&
|
|||||||
return lhs;
|
return lhs;
|
||||||
}
|
}
|
||||||
</pre>
|
</pre>
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
<p><strong><a name="UNUSED"></a><a href="tutorial.htm#UNUSED">EXAMPLE</a>:</strong>
|
<p><strong><a name="UNUSED"></a><a href="tutorial.htm#UNUSED">EXAMPLE</a>:</strong>
|
||||||
Use BOOST_PP_EMPTY() as an unused parameter in Local Macro instantiations</p>
|
Use BOOST_PP_EMPTY() as an unused parameter in Local Macro instantiations</p>
|
||||||
|
|
||||||
<blockquote>
|
<pre>template<class base>
|
||||||
<pre>template<class base>
|
|
||||||
typename implement_subscript_using_begin_subscript<base>::value_type&
|
typename implement_subscript_using_begin_subscript<base>::value_type&
|
||||||
implement_subscript_using_begin_subscript<base>::operator[]
|
implement_subscript_using_begin_subscript<base>::operator[]
|
||||||
( index_type
|
( index_type
|
||||||
@ -103,13 +101,11 @@ const typename implement_subscript_using_begin_subscript<base>::value_type
|
|||||||
{ return base::begin()[i];
|
{ return base::begin()[i];
|
||||||
}
|
}
|
||||||
</pre>
|
</pre>
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
<p><b><a name="CAT"></a><a href="tutorial.htm#CAT">EXAMPLE:</a></b> Use BOOST_PP_CAT instead of ## when necessary</p>
|
<p><b><a name="CAT"></a><a href="tutorial.htm#CAT">EXAMPLE:</a></b> Use BOOST_PP_CAT instead of ## when necessary</p>
|
||||||
|
|
||||||
<blockquote>
|
<pre>enum
|
||||||
<pre>enum
|
|
||||||
{ static_check_152 = (sizeof(int) <= sizeof(long)) ? 1 : -1
|
{ static_check_152 = (sizeof(int) <= sizeof(long)) ? 1 : -1
|
||||||
};
|
};
|
||||||
typedef char
|
typedef char
|
||||||
@ -117,12 +113,9 @@ typedef char
|
|||||||
[ static_check_152
|
[ static_check_152
|
||||||
];
|
];
|
||||||
</pre>
|
</pre>
|
||||||
</blockquote>
|
|
||||||
<hr>
|
<hr>
|
||||||
<p><b><a name="STRINGIZE"></a><a href="tutorial.htm#STRINGIZE">EXAMPLE:</a></b> Use BOOST_PP_STRINGIZE instead of # whenever necessary</p>
|
<p><b><a name="STRINGIZE"></a><a href="tutorial.htm#STRINGIZE">EXAMPLE:</a></b> Use BOOST_PP_STRINGIZE instead of # whenever necessary</p>
|
||||||
<blockquote>
|
<pre>#pragma message("examples.cpp" "(" "20" ") : " "TBD!")</pre>
|
||||||
<pre>#pragma message("examples.cpp" "(" "20" ") : " "TBD!")</pre>
|
|
||||||
</blockquote>
|
|
||||||
<hr>
|
<hr>
|
||||||
<p><strong><a name="ENUM_PARAMS"></a><a href="tutorial.htm#ENUM_PARAMS">EXAMPLE</a>:</strong>
|
<p><strong><a name="ENUM_PARAMS"></a><a href="tutorial.htm#ENUM_PARAMS">EXAMPLE</a>:</strong>
|
||||||
Use:</p>
|
Use:</p>
|
||||||
@ -135,8 +128,7 @@ typedef char
|
|||||||
<li> BOOST_PP_COMMA_IF</li>
|
<li> BOOST_PP_COMMA_IF</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>to avoid O(N) repetition on lists in general</p>
|
<p>to avoid O(N) repetition on lists in general</p>
|
||||||
<blockquote>
|
<pre>struct make_type_list_end;
|
||||||
<pre>struct make_type_list_end;
|
|
||||||
|
|
||||||
template
|
template
|
||||||
< class T0=make_type_list_end
|
< class T0=make_type_list_end
|
||||||
@ -179,15 +171,13 @@ public:
|
|||||||
>::type type;
|
>::type type;
|
||||||
};
|
};
|
||||||
</pre>
|
</pre>
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
<p><strong><a name="Token Look-Up"></a><a href="tutorial.htm#Token Look-Up">EXAMPLE</a>:</strong>
|
<p><strong><a name="Token Look-Up"></a><a href="tutorial.htm#Token Look-Up">EXAMPLE</a>:</strong>
|
||||||
Use BOOST_PP_REPEAT and a Token Look-Up Function to eliminate categorical
|
Use BOOST_PP_REPEAT and a Token Look-Up Function to eliminate categorical
|
||||||
repetition</p>
|
repetition</p>
|
||||||
|
|
||||||
<blockquote>
|
<pre>catch (bool t)
|
||||||
<pre>catch (bool t)
|
|
||||||
{ report_typeid(t);
|
{ report_typeid(t);
|
||||||
report_value(t);
|
report_value(t);
|
||||||
}
|
}
|
||||||
@ -240,14 +230,12 @@ catch (long double t)
|
|||||||
report_value(t);
|
report_value(t);
|
||||||
}
|
}
|
||||||
</pre>
|
</pre>
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
<p><strong><a name="2ND_REPEAT"></a><a href="tutorial.htm#2ND_REPEAT">EXAMPLE</a>:</strong>
|
<p><strong><a name="2ND_REPEAT"></a><a href="tutorial.htm#2ND_REPEAT">EXAMPLE</a>:</strong>
|
||||||
Use BOOST_PP_REPEAT_2ND to avoid O(N*N) repetition</p>
|
Use BOOST_PP_REPEAT_2ND to avoid O(N*N) repetition</p>
|
||||||
|
|
||||||
<blockquote>
|
<pre>vec()
|
||||||
<pre>vec()
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
vec(T a0)
|
vec(T a0)
|
||||||
@ -303,30 +291,25 @@ vec(T a0, T a1, T a2, T a3, T a4, T a5, T a6, T a7)
|
|||||||
(*this)[7] = a7;
|
(*this)[7] = a7;
|
||||||
}
|
}
|
||||||
</pre>
|
</pre>
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<hr>
|
<hr>
|
||||||
<p><a name="IF"></a><a href="tutorial.htm#IF"><b>EXAMPLE:</b></a>
|
<p><a name="IF"></a><a href="tutorial.htm#IF"><b>EXAMPLE:</b></a>
|
||||||
Use BOOST_PP_IF to implement special case for the first element</p>
|
Use BOOST_PP_IF to implement special case for the first element</p>
|
||||||
|
|
||||||
<blockquote>
|
<pre>false == false;
|
||||||
<pre>false == false;
|
|
||||||
true == true;
|
true == true;
|
||||||
</pre>
|
</pre>
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<p><a name="Arithmetic"></a><a href="tutorial.htm#Arithmetic"><B>EXAMPLE:</B></a> Use arithmetic, logical and comparison operations when necessary</p>
|
<p><a name="Arithmetic"></a><a href="tutorial.htm#Arithmetic"><B>EXAMPLE:</B></a> Use arithmetic, logical and comparison operations when necessary</p>
|
||||||
|
|
||||||
<blockquote>
|
<pre>S, E0, E1
|
||||||
<pre>S, E0, E1
|
|
||||||
E0, S, E1
|
E0, S, E1
|
||||||
E0, E1, S
|
E0, E1, S
|
||||||
BAD PARAMS FOR SPECIAL_NUMBERED_LIST! E0, E1, E2, S</pre>
|
BAD PARAMS FOR SPECIAL_NUMBERED_LIST! E0, E1, E2, S</pre>
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
<p>Revised
|
<p>Revised
|
||||||
@ -335,9 +318,9 @@ BAD PARAMS FOR SPECIAL_NUMBERED_LIST! E0, E1, E2, S</pre>
|
|||||||
</p>
|
</p>
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Index</title>
|
<title>Boost.Preprocessor - Index</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -20,7 +21,7 @@
|
|||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2>Contents</h2>
|
<h2>Contents</h2>
|
||||||
<dl>
|
<dl class="index">
|
||||||
<dt><a href="tutorial.htm">Tutorial</a></dt>
|
<dt><a href="tutorial.htm">Tutorial</a></dt>
|
||||||
<dt><a href="examples.htm">Examples</a></dt>
|
<dt><a href="examples.htm">Examples</a></dt>
|
||||||
<dt><a href="reference/index.htm">Reference</a></dt>
|
<dt><a href="reference/index.htm">Reference</a></dt>
|
||||||
@ -39,9 +40,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Widely known problems with the C preprocessor</title>
|
<title>Boost.Preprocessor - Widely known problems with the C preprocessor</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -40,10 +41,10 @@ macro might replace other kind of code accidentally.</p>
|
|||||||
<p><B>SOLUTION B:</B> Use the Local Macro
|
<p><B>SOLUTION B:</B> Use the Local Macro
|
||||||
idiom:</p>
|
idiom:</p>
|
||||||
|
|
||||||
<blockquote><pre>#define MACRO ...
|
<pre>#define MACRO ...
|
||||||
// Use MACRO
|
// Use MACRO
|
||||||
#undef MACRO
|
#undef MACRO
|
||||||
</pre></blockquote>
|
</pre>
|
||||||
|
|
||||||
<p>This makes sure that a macro can not accidentally
|
<p>This makes sure that a macro can not accidentally
|
||||||
replace code outside of the scope of the local macro.</p>
|
replace code outside of the scope of the local macro.</p>
|
||||||
@ -52,9 +53,9 @@ forgotten. Experienced programmers generally write the #undef either immediately
|
|||||||
before (in time) or immediately after writing the macro definition.</P>
|
before (in time) or immediately after writing the macro definition.</P>
|
||||||
<P><B>SOLUTION C:</B> Use the Unique Macro Prefix idiom:</P>
|
<P><B>SOLUTION C:</B> Use the Unique Macro Prefix idiom:</P>
|
||||||
|
|
||||||
<blockquote><pre>#define UMP_MACRO
|
<pre>#define UMP_MACRO
|
||||||
// Use UMP_MACRO
|
// Use UMP_MACRO
|
||||||
</pre></blockquote>
|
</pre>
|
||||||
|
|
||||||
|
|
||||||
<P>This makes accidental substitution and collisions highly
|
<P>This makes accidental substitution and collisions highly
|
||||||
@ -116,9 +117,9 @@ long time.</P>
|
|||||||
</p>
|
</p>
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Known problems with specific compilers</title>
|
<title>Boost.Preprocessor - Known problems with specific compilers</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -36,14 +37,14 @@
|
|||||||
specifically address this issue; for example, the above NUMBERED_EXPRESSION
|
specifically address this issue; for example, the above NUMBERED_EXPRESSION
|
||||||
example doesn't compile on CW 7.0. Below is a simple test case that reproduces
|
example doesn't compile on CW 7.0. Below is a simple test case that reproduces
|
||||||
the bug:</p>
|
the bug:</p>
|
||||||
<blockquote>
|
|
||||||
<pre>#define IDENTITY_MACRO(x) IDENTITY_MACRO_BODY(x)
|
<pre>#define IDENTITY_MACRO(x) IDENTITY_MACRO_BODY(x)
|
||||||
#define IDENTITY_MACRO_BODY(x) x
|
#define IDENTITY_MACRO_BODY(x) x
|
||||||
#define COMMA_TOKEN() ,
|
#define COMMA_TOKEN() ,
|
||||||
int a IDENTITY_MACRO(COMMA_TOKEN)() b; // this works
|
int a IDENTITY_MACRO(COMMA_TOKEN)() b; // this works
|
||||||
int c IDENTITY_MACRO(IDENTITY_MACRO(COMMA_TOKEN))() d; // this doesn't
|
int c IDENTITY_MACRO(IDENTITY_MACRO(COMMA_TOKEN))() d; // this doesn't
|
||||||
</pre>
|
</pre>
|
||||||
</blockquote>
|
|
||||||
<p>Basically, what's happening here is that function-like COMMA_TOKEN macro gets
|
<p>Basically, what's happening here is that function-like COMMA_TOKEN macro gets
|
||||||
expanded _inside_ of the nested IDENTITY_MACRO call - even although it's NOT
|
expanded _inside_ of the nested IDENTITY_MACRO call - even although it's NOT
|
||||||
followed by a '(' as the next preprocessing token - which is a clearly an incorrect
|
followed by a '(' as the next preprocessing token - which is a clearly an incorrect
|
||||||
@ -54,8 +55,7 @@ int c IDENTITY_MACRO(IDENTITY_MACRO(COMMA_TOKEN))() d; // this doesn't
|
|||||||
to be mentioned in the documentation, may be with some examples of how to workaround
|
to be mentioned in the documentation, may be with some examples of how to workaround
|
||||||
the issue. Just to show one possible way around the problem, here is a NUMBERED_EXPRESSION
|
the issue. Just to show one possible way around the problem, here is a NUMBERED_EXPRESSION
|
||||||
macro that does work on MWCW:</p>
|
macro that does work on MWCW:</p>
|
||||||
<blockquote>
|
<pre>#define NUMBERED_EXPRESSION(n, x) \
|
||||||
<pre>#define NUMBERED_EXPRESSION(n, x) \
|
|
||||||
BOOST_PP_CAT(BOOST_, \
|
BOOST_PP_CAT(BOOST_, \
|
||||||
BOOST_PP_IF( \
|
BOOST_PP_IF( \
|
||||||
n \
|
n \
|
||||||
@ -63,7 +63,7 @@ int c IDENTITY_MACRO(IDENTITY_MACRO(COMMA_TOKEN))() d; // this doesn't
|
|||||||
, PREPROCESSOR_EMPTY \
|
, PREPROCESSOR_EMPTY \
|
||||||
))() \
|
))() \
|
||||||
/**/
|
/**/
|
||||||
</pre></blockquote>
|
</pre>
|
||||||
<p align="right"><i>Reported by Aleksey Gurtovoy</i></p>
|
<p align="right"><i>Reported by Aleksey Gurtovoy</i></p>
|
||||||
|
|
||||||
<h3><a name="Comeau C/C++ 4.2.45.2">Comeau C/C++ 4.2.45.2 for Windows</a></h3>
|
<h3><a name="Comeau C/C++ 4.2.45.2">Comeau C/C++ 4.2.45.2 for Windows</a></h3>
|
||||||
@ -75,8 +75,7 @@ int c IDENTITY_MACRO(IDENTITY_MACRO(COMMA_TOKEN))() d; // this doesn't
|
|||||||
(see the timing data below). This behavior may or may not be problematic
|
(see the timing data below). This behavior may or may not be problematic
|
||||||
for you, depending on how intense is your usage of the library.
|
for you, depending on how intense is your usage of the library.
|
||||||
|
|
||||||
<blockquote>
|
<pre>#ifndef IS_FUNCTION_HELPER_TEST_MAX
|
||||||
<pre>#ifndef IS_FUNCTION_HELPER_TEST_MAX
|
|
||||||
#define IS_FUNCTION_HELPER_TEST_MAX 40
|
#define IS_FUNCTION_HELPER_TEST_MAX 40
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -91,7 +90,7 @@ typedef char yes_type;
|
|||||||
BOOST_PP_REPEAT_2ND(BOOST_PP_INC(IS_FUNCTION_HELPER_TEST_MAX),IS_FUNCTION_HELPER,A)
|
BOOST_PP_REPEAT_2ND(BOOST_PP_INC(IS_FUNCTION_HELPER_TEST_MAX),IS_FUNCTION_HELPER,A)
|
||||||
|
|
||||||
#undef IS_FUNCTION_HELPER
|
#undef IS_FUNCTION_HELPER
|
||||||
</pre></blockquote>
|
</pre>
|
||||||
|
|
||||||
<h4>Timing data:</h4>
|
<h4>Timing data:</h4>
|
||||||
<table border="1">
|
<table border="1">
|
||||||
@ -131,9 +130,9 @@ BOOST_PP_REPEAT_2ND(BOOST_PP_INC(IS_FUNCTION_HELPER_TEST_MAX),IS_FUNCTION_HELPER
|
|||||||
</p>
|
</p>
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,7 +23,7 @@
|
|||||||
<a href="while.htm">Prev</a> <a href="arithmetic_add.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="while.htm">Prev</a> <a href="arithmetic_add.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/arithmetic.hpp">boost/preprocessor/arithmetic.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/arithmetic.hpp">boost/preprocessor/arithmetic.hpp</a>></h2>
|
||||||
<p>Includes all arithmetic headers.</p>
|
<p>Includes all arithmetic headers.</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -33,9 +34,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="arithmetic.htm">Prev</a> <a href="arithmetic_div.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="arithmetic.htm">Prev</a> <a href="arithmetic_div.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/arithmetic/add.hpp">boost/preprocessor/arithmetic/add.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/arithmetic/add.hpp">boost/preprocessor/arithmetic/add.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_ADD">#define BOOST_PP_ADD</a>(X,Y)</h2>
|
<h3><a name="BOOST_PP_ADD">#define BOOST_PP_ADD</a>(X,Y)</h3>
|
||||||
<p>Expands to the sum of <code>X</code> and <code>Y</code>.</p>
|
<p>Expands to the sum of <code>X</code> and <code>Y</code>.</p>
|
||||||
|
|
||||||
<p>Both <code>X</code> and <code>Y</code> must expand to integer literals
|
<p>Both <code>X</code> and <code>Y</code> must expand to integer literals
|
||||||
@ -47,7 +48,7 @@ single token).</p>
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_ADD_D">#define BOOST_PP_ADD_D</a>(D,X,Y)</h2>
|
<h3><a name="BOOST_PP_ADD_D">#define BOOST_PP_ADD_D</a>(D,X,Y)</h3>
|
||||||
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -58,9 +59,9 @@ single token).</p>
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="arithmetic_add.htm">Prev</a> <a href="arithmetic_mod.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="arithmetic_add.htm">Prev</a> <a href="arithmetic_mod.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/arithmetic/div.hpp">boost/preprocessor/arithmetic/div.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/arithmetic/div.hpp">boost/preprocessor/arithmetic/div.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_DIV">#define BOOST_PP_DIV</a>(X,Y)</h2>
|
<h3><a name="BOOST_PP_DIV">#define BOOST_PP_DIV</a>(X,Y)</h3>
|
||||||
<p>Expands to the quotient of <code>X</code> and <code>Y</code>.</p>
|
<p>Expands to the quotient of <code>X</code> and <code>Y</code>.</p>
|
||||||
|
|
||||||
<p>Both <code>X</code> and <code>Y</code> must expand to integer literals
|
<p>Both <code>X</code> and <code>Y</code> must expand to integer literals
|
||||||
@ -47,7 +48,7 @@ single token).</p>
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_DIV_D">#define BOOST_PP_DIV_D</a>(D,X,Y)</h2>
|
<h3><a name="BOOST_PP_DIV_D">#define BOOST_PP_DIV_D</a>(D,X,Y)</h3>
|
||||||
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -58,9 +59,9 @@ single token).</p>
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="arithmetic_div.htm">Prev</a> <a href="arithmetic_mul.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="arithmetic_div.htm">Prev</a> <a href="arithmetic_mul.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/arithmetic/mod.hpp">boost/preprocessor/arithmetic/mod.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/arithmetic/mod.hpp">boost/preprocessor/arithmetic/mod.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_MOD">#define BOOST_PP_MOD</a>(X,Y)</h2>
|
<h3><a name="BOOST_PP_MOD">#define BOOST_PP_MOD</a>(X,Y)</h3>
|
||||||
<p>Expands to the remainder of <code>X</code> and <code>Y</code>.</p>
|
<p>Expands to the remainder of <code>X</code> and <code>Y</code>.</p>
|
||||||
|
|
||||||
<p>Both <code>X</code> and <code>Y</code> must expand to integer literals
|
<p>Both <code>X</code> and <code>Y</code> must expand to integer literals
|
||||||
@ -47,7 +48,7 @@ single token).</p>
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_MOD_D">#define BOOST_PP_MOD_D</a>(D,X,Y)</h2>
|
<h3><a name="BOOST_PP_MOD_D">#define BOOST_PP_MOD_D</a>(D,X,Y)</h3>
|
||||||
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -58,9 +59,9 @@ single token).</p>
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="arithmetic_mod.htm">Prev</a> <a href="arithmetic_sub.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="arithmetic_mod.htm">Prev</a> <a href="arithmetic_sub.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/arithmetic/mul.hpp">boost/preprocessor/arithmetic/mul.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/arithmetic/mul.hpp">boost/preprocessor/arithmetic/mul.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_MUL">#define BOOST_PP_MUL</a>(X,Y)</h2>
|
<h3><a name="BOOST_PP_MUL">#define BOOST_PP_MUL</a>(X,Y)</h3>
|
||||||
<p>Expands to the product of <code>X</code> and <code>Y</code>.</p>
|
<p>Expands to the product of <code>X</code> and <code>Y</code>.</p>
|
||||||
|
|
||||||
<p>Both <code>X</code> and <code>Y</code> must expand to integer literals
|
<p>Both <code>X</code> and <code>Y</code> must expand to integer literals
|
||||||
@ -47,7 +48,7 @@ single token).</p>
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_MUL_D">#define BOOST_PP_MUL_D</a>(D,X,Y)</h2>
|
<h3><a name="BOOST_PP_MUL_D">#define BOOST_PP_MUL_D</a>(D,X,Y)</h3>
|
||||||
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -58,9 +59,9 @@ single token).</p>
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="arithmetic_mul.htm">Prev</a> <a href="assert_msg.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="arithmetic_mul.htm">Prev</a> <a href="assert_msg.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/arithmetic/sub.hpp">boost/preprocessor/arithmetic/sub.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/arithmetic/sub.hpp">boost/preprocessor/arithmetic/sub.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_SUB">#define BOOST_PP_SUB</a>(X,Y)</h2>
|
<h3><a name="BOOST_PP_SUB">#define BOOST_PP_SUB</a>(X,Y)</h3>
|
||||||
<p>Expands to the difference of <code>X</code> and <code>Y</code>.</p>
|
<p>Expands to the difference of <code>X</code> and <code>Y</code>.</p>
|
||||||
|
|
||||||
<p>Both <code>X</code> and <code>Y</code> must expand to integer literals
|
<p>Both <code>X</code> and <code>Y</code> must expand to integer literals
|
||||||
@ -47,7 +48,7 @@ single token).</p>
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_SUB_D">#define BOOST_PP_SUB_D</a>(D,X,Y)</h2>
|
<h3><a name="BOOST_PP_SUB_D">#define BOOST_PP_SUB_D</a>(D,X,Y)</h3>
|
||||||
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -58,9 +59,9 @@ single token).</p>
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="arithmetic_sub.htm">Prev</a> <a href="cat.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="arithmetic_sub.htm">Prev</a> <a href="cat.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/assert_msg.hpp">boost/preprocessor/assert_msg.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/assert_msg.hpp">boost/preprocessor/assert_msg.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_ASSERT_MSG">#define BOOST_PP_ASSERT_MSG</a>(COND,MSG)</h2>
|
<h3><a name="BOOST_PP_ASSERT_MSG">#define BOOST_PP_ASSERT_MSG</a>(COND,MSG)</h3>
|
||||||
<p>Expands to nothing if <code>COND != 0</code> and to <code>MSG</code> if
|
<p>Expands to nothing if <code>COND != 0</code> and to <code>MSG</code> if
|
||||||
<code>COND == 0</code>.</p>
|
<code>COND == 0</code>.</p>
|
||||||
|
|
||||||
@ -43,9 +44,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="assert_msg.htm">Prev</a> <a href="comma.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="assert_msg.htm">Prev</a> <a href="comma.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/cat.hpp">boost/preprocessor/cat.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/cat.hpp">boost/preprocessor/cat.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_CAT">#define BOOST_PP_CAT</a>(X,Y)</h2>
|
<h3><a name="BOOST_PP_CAT">#define BOOST_PP_CAT</a>(X,Y)</h3>
|
||||||
<p>Concatenates <code>X</code> and <code>Y</code> after they are macro
|
<p>Concatenates <code>X</code> and <code>Y</code> after they are macro
|
||||||
expanded.</p>
|
expanded.</p>
|
||||||
|
|
||||||
@ -51,9 +52,9 @@ expanded.</p>
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="cat.htm">Prev</a> <a href="comma_if.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="cat.htm">Prev</a> <a href="comma_if.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/comma.hpp">boost/preprocessor/comma.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/comma.hpp">boost/preprocessor/comma.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_COMMA">#define BOOST_PP_COMMA</a>()</h2>
|
<h3><a name="BOOST_PP_COMMA">#define BOOST_PP_COMMA</a>()</h3>
|
||||||
<p>Expands to a comma.</p>
|
<p>Expands to a comma.</p>
|
||||||
|
|
||||||
<p>Commas need special handling in preprocessor code, because commas are used
|
<p>Commas need special handling in preprocessor code, because commas are used
|
||||||
@ -54,9 +55,9 @@ for separating macro parameters.</p>
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="comma.htm">Prev</a> <a href="comparison.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="comma.htm">Prev</a> <a href="comparison.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/comma_if.hpp">boost/preprocessor/comma_if.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/comma_if.hpp">boost/preprocessor/comma_if.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_COMMA_IF">#define BOOST_PP_COMMA_IF</a>(COND)</h2>
|
<h3><a name="BOOST_PP_COMMA_IF">#define BOOST_PP_COMMA_IF</a>(COND)</h3>
|
||||||
<p>Expands to a comma if <code>COND != 0</code> and nothing if
|
<p>Expands to a comma if <code>COND != 0</code> and nothing if
|
||||||
<code>COND == 0</code>.</p>
|
<code>COND == 0</code>.</p>
|
||||||
|
|
||||||
@ -43,9 +44,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,7 +23,7 @@
|
|||||||
<a href="comma_if.htm">Prev</a> <a href="comparison_equal.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="comma_if.htm">Prev</a> <a href="comparison_equal.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/comparison.hpp">boost/preprocessor/comparison.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/comparison.hpp">boost/preprocessor/comparison.hpp</a>></h2>
|
||||||
<p>Includes all comparison headers.</p>
|
<p>Includes all comparison headers.</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -33,9 +34,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="comparison.htm">Prev</a> <a href="comparison_greater.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="comparison.htm">Prev</a> <a href="comparison_greater.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/comparison/equal.hpp">boost/preprocessor/comparison/equal.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/comparison/equal.hpp">boost/preprocessor/comparison/equal.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_EQUAL">#define BOOST_PP_EQUAL</a>(X,Y)</h2>
|
<h3><a name="BOOST_PP_EQUAL">#define BOOST_PP_EQUAL</a>(X,Y)</h3>
|
||||||
<p>Expands to <code>1</code> if <code>X == Y</code> and <code>0</code>
|
<p>Expands to <code>1</code> if <code>X == Y</code> and <code>0</code>
|
||||||
otherwise.</p>
|
otherwise.</p>
|
||||||
|
|
||||||
@ -47,7 +48,7 @@ in the range [0, <a href="limits.htm#BOOST_PP_LIMIT_MAG">BOOST_PP_LIMIT_MAG</a>]
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_EQUAL_D">#define BOOST_PP_EQUAL_D</a>(D,X,Y)</h2>
|
<h3><a name="BOOST_PP_EQUAL_D">#define BOOST_PP_EQUAL_D</a>(D,X,Y)</h3>
|
||||||
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -58,9 +59,9 @@ in the range [0, <a href="limits.htm#BOOST_PP_LIMIT_MAG">BOOST_PP_LIMIT_MAG</a>]
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="comparison_equal.htm">Prev</a> <a href="comparison_greater_equal.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="comparison_equal.htm">Prev</a> <a href="comparison_greater_equal.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/comparison/greater.hpp">boost/preprocessor/comparison/greater.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/comparison/greater.hpp">boost/preprocessor/comparison/greater.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_GREATER">#define BOOST_PP_GREATER</a>(X,Y)</h2>
|
<h3><a name="BOOST_PP_GREATER">#define BOOST_PP_GREATER</a>(X,Y)</h3>
|
||||||
<p>Expands to <code>1</code> if <code>X > Y</code> and <code>0</code>
|
<p>Expands to <code>1</code> if <code>X > Y</code> and <code>0</code>
|
||||||
otherwise.</p>
|
otherwise.</p>
|
||||||
|
|
||||||
@ -47,7 +48,7 @@ in the range [0, <a href="limits.htm#BOOST_PP_LIMIT_MAG">BOOST_PP_LIMIT_MAG</a>]
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_GREATER_D">#define BOOST_PP_GREATER_D</a>(D,X,Y)</h2>
|
<h3><a name="BOOST_PP_GREATER_D">#define BOOST_PP_GREATER_D</a>(D,X,Y)</h3>
|
||||||
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -58,9 +59,9 @@ in the range [0, <a href="limits.htm#BOOST_PP_LIMIT_MAG">BOOST_PP_LIMIT_MAG</a>]
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="comparison_greater.htm">Prev</a> <a href="comparison_less.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="comparison_greater.htm">Prev</a> <a href="comparison_less.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/comparison/greater_equal.hpp">boost/preprocessor/comparison/greater_equal.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/comparison/greater_equal.hpp">boost/preprocessor/comparison/greater_equal.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_GREATER_EQUAL">#define BOOST_PP_GREATER_EQUAL</a>(X,Y)</h2>
|
<h3><a name="BOOST_PP_GREATER_EQUAL">#define BOOST_PP_GREATER_EQUAL</a>(X,Y)</h3>
|
||||||
<p>Expands to <code>1</code> if <code>X >= Y</code> and <code>0</code>
|
<p>Expands to <code>1</code> if <code>X >= Y</code> and <code>0</code>
|
||||||
otherwise.</p>
|
otherwise.</p>
|
||||||
|
|
||||||
@ -47,7 +48,7 @@ in the range [0, <a href="limits.htm#BOOST_PP_LIMIT_MAG">BOOST_PP_LIMIT_MAG</a>]
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_GREATER_EQUAL_D">#define BOOST_PP_GREATER_EQUAL_D</a>(D,X,Y)</h2>
|
<h3><a name="BOOST_PP_GREATER_EQUAL_D">#define BOOST_PP_GREATER_EQUAL_D</a>(D,X,Y)</h3>
|
||||||
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -58,9 +59,9 @@ in the range [0, <a href="limits.htm#BOOST_PP_LIMIT_MAG">BOOST_PP_LIMIT_MAG</a>]
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="comparison_greater_equal.htm">Prev</a> <a href="comparison_less_equal.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="comparison_greater_equal.htm">Prev</a> <a href="comparison_less_equal.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/comparison/less.hpp">boost/preprocessor/comparison/less.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/comparison/less.hpp">boost/preprocessor/comparison/less.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LESS">#define BOOST_PP_LESS</a>(X,Y)</h2>
|
<h3><a name="BOOST_PP_LESS">#define BOOST_PP_LESS</a>(X,Y)</h3>
|
||||||
<p>Expands to <code>1</code> if <code>X < Y</code> and <code>0</code>
|
<p>Expands to <code>1</code> if <code>X < Y</code> and <code>0</code>
|
||||||
otherwise.</p>
|
otherwise.</p>
|
||||||
|
|
||||||
@ -47,7 +48,7 @@ in the range [0, <a href="limits.htm#BOOST_PP_LIMIT_MAG">BOOST_PP_LIMIT_MAG</a>]
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LESS_D">#define BOOST_PP_LESS_D</a>(D,X,Y)</h2>
|
<h3><a name="BOOST_PP_LESS_D">#define BOOST_PP_LESS_D</a>(D,X,Y)</h3>
|
||||||
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -58,9 +59,9 @@ in the range [0, <a href="limits.htm#BOOST_PP_LIMIT_MAG">BOOST_PP_LIMIT_MAG</a>]
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="comparison_less.htm">Prev</a> <a href="comparison_not_equal.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="comparison_less.htm">Prev</a> <a href="comparison_not_equal.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/comparison/less_equal.hpp">boost/preprocessor/comparison/less_equal.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/comparison/less_equal.hpp">boost/preprocessor/comparison/less_equal.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LESS_EQUAL">#define BOOST_PP_LESS_EQUAL</a>(X,Y)</h2>
|
<h3><a name="BOOST_PP_LESS_EQUAL">#define BOOST_PP_LESS_EQUAL</a>(X,Y)</h3>
|
||||||
<p>Expands to <code>1</code> if <code>X <= Y</code> and <code>0</code>
|
<p>Expands to <code>1</code> if <code>X <= Y</code> and <code>0</code>
|
||||||
otherwise.</p>
|
otherwise.</p>
|
||||||
|
|
||||||
@ -47,7 +48,7 @@ in the range [0, <a href="limits.htm#BOOST_PP_LIMIT_MAG">BOOST_PP_LIMIT_MAG</a>]
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LESS_EQUAL_D">#define BOOST_PP_LESS_EQUAL_D</a>(D,X,Y)</h2>
|
<h3><a name="BOOST_PP_LESS_EQUAL_D">#define BOOST_PP_LESS_EQUAL_D</a>(D,X,Y)</h3>
|
||||||
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -58,9 +59,9 @@ in the range [0, <a href="limits.htm#BOOST_PP_LIMIT_MAG">BOOST_PP_LIMIT_MAG</a>]
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="comparison_less_equal.htm">Prev</a> <a href="dec.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="comparison_less_equal.htm">Prev</a> <a href="dec.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/comparison/not_equal.hpp">boost/preprocessor/comparison/not_equal.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/comparison/not_equal.hpp">boost/preprocessor/comparison/not_equal.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_NOT_EQUAL">#define BOOST_PP_NOT_EQUAL</a>(X,Y)</h2>
|
<h3><a name="BOOST_PP_NOT_EQUAL">#define BOOST_PP_NOT_EQUAL</a>(X,Y)</h3>
|
||||||
<p>Expands to <code>1</code> if <code>X != Y</code> and <code>0</code>
|
<p>Expands to <code>1</code> if <code>X != Y</code> and <code>0</code>
|
||||||
otherwise.</p>
|
otherwise.</p>
|
||||||
|
|
||||||
@ -47,7 +48,7 @@ in the range [0, <a href="limits.htm#BOOST_PP_LIMIT_MAG">BOOST_PP_LIMIT_MAG</a>]
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_NOT_EQUAL_D">#define BOOST_PP_NOT_EQUAL_D</a>(D,X,Y)</h2>
|
<h3><a name="BOOST_PP_NOT_EQUAL_D">#define BOOST_PP_NOT_EQUAL_D</a>(D,X,Y)</h3>
|
||||||
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -58,9 +59,9 @@ in the range [0, <a href="limits.htm#BOOST_PP_LIMIT_MAG">BOOST_PP_LIMIT_MAG</a>]
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="comparison_not_equal.htm">Prev</a> <a href="empty.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="comparison_not_equal.htm">Prev</a> <a href="empty.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/dec.hpp">boost/preprocessor/dec.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/dec.hpp">boost/preprocessor/dec.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_DEC">#define BOOST_PP_DEC</a>(X)</h2>
|
<h3><a name="BOOST_PP_DEC">#define BOOST_PP_DEC</a>(X)</h3>
|
||||||
<p>Decrements <code>X</code> expanding to a single token.</p>
|
<p>Decrements <code>X</code> expanding to a single token.</p>
|
||||||
|
|
||||||
<p>For example, <code><a href="dec.htm#BOOST_PP_DEC">BOOST_PP_DEC</a>(3)</code> expands to <code>2</code> (a
|
<p>For example, <code><a href="dec.htm#BOOST_PP_DEC">BOOST_PP_DEC</a>(3)</code> expands to <code>2</code> (a
|
||||||
@ -46,9 +47,9 @@ supported.</p>
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="dec.htm">Prev</a> <a href="enum.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="dec.htm">Prev</a> <a href="enum.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/empty.hpp">boost/preprocessor/empty.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/empty.hpp">boost/preprocessor/empty.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_EMPTY">#define BOOST_PP_EMPTY</a>()</h2>
|
<h3><a name="BOOST_PP_EMPTY">#define BOOST_PP_EMPTY</a>()</h3>
|
||||||
<p>Expands to nothing.</p>
|
<p>Expands to nothing.</p>
|
||||||
|
|
||||||
<p>For example,</p>
|
<p>For example,</p>
|
||||||
@ -56,9 +57,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="empty.htm">Prev</a> <a href="enum_params.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="empty.htm">Prev</a> <a href="enum_params.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/enum.hpp">boost/preprocessor/enum.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/enum.hpp">boost/preprocessor/enum.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_ENUM">#define BOOST_PP_ENUM</a>(COUNT,MACRO,DATA)</h2>
|
<h3><a name="BOOST_PP_ENUM">#define BOOST_PP_ENUM</a>(COUNT,MACRO,DATA)</h3>
|
||||||
<p>Generates a comma separated list.</p>
|
<p>Generates a comma separated list.</p>
|
||||||
|
|
||||||
<p>In other words, expands to the sequence:</p>
|
<p>In other words, expands to the sequence:</p>
|
||||||
@ -68,9 +69,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="enum.htm">Prev</a> <a href="enum_params_with_a_default.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="enum.htm">Prev</a> <a href="enum_params_with_a_default.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/enum_params.hpp">boost/preprocessor/enum_params.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/enum_params.hpp">boost/preprocessor/enum_params.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_ENUM_PARAMS">#define BOOST_PP_ENUM_PARAMS</a>(COUNT,PARAM)</h2>
|
<h3><a name="BOOST_PP_ENUM_PARAMS">#define BOOST_PP_ENUM_PARAMS</a>(COUNT,PARAM)</h3>
|
||||||
<p>Generates a comma separated list of parameters.</p>
|
<p>Generates a comma separated list of parameters.</p>
|
||||||
|
|
||||||
<p>In other words, expands to the sequence:</p>
|
<p>In other words, expands to the sequence:</p>
|
||||||
@ -66,9 +67,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="enum_params.htm">Prev</a> <a href="enum_params_with_defaults.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="enum_params.htm">Prev</a> <a href="enum_params_with_defaults.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/enum_params_with_a_default.hpp">boost/preprocessor/enum_params_with_a_default.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/enum_params_with_a_default.hpp">boost/preprocessor/enum_params_with_a_default.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT">#define BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT</a>(COUNT,PARAM,DEFAULT)</h2>
|
<h3><a name="BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT">#define BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT</a>(COUNT,PARAM,DEFAULT)</h3>
|
||||||
<p>Generates a comma separated list of parameters with a default.</p>
|
<p>Generates a comma separated list of parameters with a default.</p>
|
||||||
|
|
||||||
<p>In other words, expands to the sequence:</p>
|
<p>In other words, expands to the sequence:</p>
|
||||||
@ -69,9 +70,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="enum_params_with_a_default.htm">Prev</a> <a href="enum_shifted.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="enum_params_with_a_default.htm">Prev</a> <a href="enum_shifted.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/enum_params_with_defaults.hpp">boost/preprocessor/enum_params_with_defaults.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/enum_params_with_defaults.hpp">boost/preprocessor/enum_params_with_defaults.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_ENUM_PARAMS_WITH_DEFAULTS">#define BOOST_PP_ENUM_PARAMS_WITH_DEFAULTS</a>(COUNT,PARAM,DEFAULT)</h2>
|
<h3><a name="BOOST_PP_ENUM_PARAMS_WITH_DEFAULTS">#define BOOST_PP_ENUM_PARAMS_WITH_DEFAULTS</a>(COUNT,PARAM,DEFAULT)</h3>
|
||||||
<p>Generates a comma separated list of parameters with defaults.</p>
|
<p>Generates a comma separated list of parameters with defaults.</p>
|
||||||
|
|
||||||
<p>In other words, expands to the sequence:</p>
|
<p>In other words, expands to the sequence:</p>
|
||||||
@ -69,9 +70,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="enum_params_with_defaults.htm">Prev</a> <a href="enum_shifted_params.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="enum_params_with_defaults.htm">Prev</a> <a href="enum_shifted_params.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/enum_shifted.hpp">boost/preprocessor/enum_shifted.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/enum_shifted.hpp">boost/preprocessor/enum_shifted.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_ENUM_SHIFTED">#define BOOST_PP_ENUM_SHIFTED</a>(COUNT,MACRO,DATA)</h2>
|
<h3><a name="BOOST_PP_ENUM_SHIFTED">#define BOOST_PP_ENUM_SHIFTED</a>(COUNT,MACRO,DATA)</h3>
|
||||||
<p>Generates a comma separated shifted list.</p>
|
<p>Generates a comma separated shifted list.</p>
|
||||||
|
|
||||||
<p>In other words, expands to the sequence:</p>
|
<p>In other words, expands to the sequence:</p>
|
||||||
@ -63,9 +64,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="enum_shifted.htm">Prev</a> <a href="expand.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="enum_shifted.htm">Prev</a> <a href="expand.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/enum_shifted_params.hpp">boost/preprocessor/enum_shifted_params.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/enum_shifted_params.hpp">boost/preprocessor/enum_shifted_params.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_ENUM_SHIFTED_PARAMS">#define BOOST_PP_ENUM_SHIFTED_PARAMS</a>(COUNT,PARAM)</h2>
|
<h3><a name="BOOST_PP_ENUM_SHIFTED_PARAMS">#define BOOST_PP_ENUM_SHIFTED_PARAMS</a>(COUNT,PARAM)</h3>
|
||||||
<p>Generates a comma separated list of shifted actual parameters.</p>
|
<p>Generates a comma separated list of shifted actual parameters.</p>
|
||||||
|
|
||||||
<p>In other words, expands to the sequence:</p>
|
<p>In other words, expands to the sequence:</p>
|
||||||
@ -71,9 +72,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="enum_shifted_params.htm">Prev</a> <a href="expr_if.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="enum_shifted_params.htm">Prev</a> <a href="expr_if.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/expand.hpp">boost/preprocessor/expand.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/expand.hpp">boost/preprocessor/expand.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_EXPAND">#define BOOST_PP_EXPAND</a>(X)</h2>
|
<h3><a name="BOOST_PP_EXPAND">#define BOOST_PP_EXPAND</a>(X)</h3>
|
||||||
<p>Essentially macro expands the parameter <code>X</code> twice.</p>
|
<p>Essentially macro expands the parameter <code>X</code> twice.</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -37,9 +38,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="expand.htm">Prev</a> <a href="for.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="expand.htm">Prev</a> <a href="for.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/expr_if.hpp">boost/preprocessor/expr_if.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/expr_if.hpp">boost/preprocessor/expr_if.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_EXPR_IF">#define BOOST_PP_EXPR_IF</a>(COND,EXPR)</h2>
|
<h3><a name="BOOST_PP_EXPR_IF">#define BOOST_PP_EXPR_IF</a>(COND,EXPR)</h3>
|
||||||
<p>Expands to <code>EXPR</code> if <code>COND != 0</code> and to nothing if <code>COND == 0</code>.</p>
|
<p>Expands to <code>EXPR</code> if <code>COND != 0</code> and to nothing if <code>COND == 0</code>.</p>
|
||||||
|
|
||||||
<p><code>COND</code> must expand to an integer literal in the range [0, <a href="limits.htm#BOOST_PP_LIMIT_MAG">BOOST_PP_LIMIT_MAG</a>].</p>
|
<p><code>COND</code> must expand to an integer literal in the range [0, <a href="limits.htm#BOOST_PP_LIMIT_MAG">BOOST_PP_LIMIT_MAG</a>].</p>
|
||||||
@ -47,9 +48,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="expr_if.htm">Prev</a> <a href="identity.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="expr_if.htm">Prev</a> <a href="identity.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/for.hpp">boost/preprocessor/for.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/for.hpp">boost/preprocessor/for.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_FOR">#define BOOST_PP_FOR</a>(STATE,PRED,OP,MACRO)</h2>
|
<h3><a name="BOOST_PP_FOR">#define BOOST_PP_FOR</a>(STATE,PRED,OP,MACRO)</h3>
|
||||||
<p>Repeats <code>MACRO(R,STATE)</code> and iterates <code>OP(R,STATE)</code> while
|
<p>Repeats <code>MACRO(R,STATE)</code> and iterates <code>OP(R,STATE)</code> while
|
||||||
<code>PRED(R,STATE)</code> is true.</p>
|
<code>PRED(R,STATE)</code> is true.</p>
|
||||||
|
|
||||||
@ -100,9 +101,9 @@ invoking <a href="for.htm#BOOST_PP_FOR">BOOST_PP_FOR</a>##R() directly.</p>
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="for.htm">Prev</a> <a href="if.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="for.htm">Prev</a> <a href="if.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/identity.hpp">boost/preprocessor/identity.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/identity.hpp">boost/preprocessor/identity.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_IDENTITY">#define BOOST_PP_IDENTITY</a>(X)</h2>
|
<h3><a name="BOOST_PP_IDENTITY">#define BOOST_PP_IDENTITY</a>(X)</h3>
|
||||||
<p>Expands to <code>X</code> once invoked.</p>
|
<p>Expands to <code>X</code> once invoked.</p>
|
||||||
|
|
||||||
<p>Designed to be used with <a href="if.htm#BOOST_PP_IF">BOOST_PP_IF</a>(), when one of the clauses need to be
|
<p>Designed to be used with <a href="if.htm#BOOST_PP_IF">BOOST_PP_IF</a>(), when one of the clauses need to be
|
||||||
@ -58,9 +59,9 @@ invoked.</p>
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="identity.htm">Prev</a> <a href="inc.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="identity.htm">Prev</a> <a href="inc.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/if.hpp">boost/preprocessor/if.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/if.hpp">boost/preprocessor/if.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_IF">#define BOOST_PP_IF</a>(COND,THEN,ELSE)</h2>
|
<h3><a name="BOOST_PP_IF">#define BOOST_PP_IF</a>(COND,THEN,ELSE)</h3>
|
||||||
<p>Expands to <code>THEN</code> if <code>COND != 0</code> and <code>ELSE</code> if
|
<p>Expands to <code>THEN</code> if <code>COND != 0</code> and <code>ELSE</code> if
|
||||||
<code>COND == 0</code>.</p>
|
<code>COND == 0</code>.</p>
|
||||||
|
|
||||||
@ -53,9 +54,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="if.htm">Prev</a> <a href="limits.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="if.htm">Prev</a> <a href="limits.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/inc.hpp">boost/preprocessor/inc.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/inc.hpp">boost/preprocessor/inc.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_INC">#define BOOST_PP_INC</a>(X)</h2>
|
<h3><a name="BOOST_PP_INC">#define BOOST_PP_INC</a>(X)</h3>
|
||||||
<p>Increments <code>X</code> expanding to a single token.</p>
|
<p>Increments <code>X</code> expanding to a single token.</p>
|
||||||
|
|
||||||
<p>For example, <code><a href="inc.htm#BOOST_PP_INC">BOOST_PP_INC</a>(3)</code> expands to <code>4</code> (a
|
<p>For example, <code><a href="inc.htm#BOOST_PP_INC">BOOST_PP_INC</a>(3)</code> expands to <code>4</code> (a
|
||||||
@ -47,9 +48,9 @@ supported.</p>
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -216,9 +217,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="inc.htm">Prev</a> <a href="list.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="inc.htm">Prev</a> <a href="list.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/limits.hpp">boost/preprocessor/limits.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/limits.hpp">boost/preprocessor/limits.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIMIT_DIM">#define BOOST_PP_LIMIT_DIM</a></h2>
|
<h3><a name="BOOST_PP_LIMIT_DIM">#define BOOST_PP_LIMIT_DIM</a></h3>
|
||||||
<p>Expands to the number of dimensions of repeat supported by the
|
<p>Expands to the number of dimensions of repeat supported by the
|
||||||
library.</p>
|
library.</p>
|
||||||
|
|
||||||
@ -35,7 +36,7 @@ library.</p>
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIMIT_MAG">#define BOOST_PP_LIMIT_MAG</a></h2>
|
<h3><a name="BOOST_PP_LIMIT_MAG">#define BOOST_PP_LIMIT_MAG</a></h3>
|
||||||
<p>Expands to the maximum straight numeric literal supported by the
|
<p>Expands to the maximum straight numeric literal supported by the
|
||||||
library.</p>
|
library.</p>
|
||||||
|
|
||||||
@ -54,7 +55,7 @@ and <a href="repeat.htm#BOOST_PP_REPEAT">BOOST_PP_REPEAT</a> family).</p>
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIMIT_TUPLE">#define BOOST_PP_LIMIT_TUPLE</a></h2>
|
<h3><a name="BOOST_PP_LIMIT_TUPLE">#define BOOST_PP_LIMIT_TUPLE</a></h3>
|
||||||
<p>Expands to the maximum tuple size supported by the library.</p>
|
<p>Expands to the maximum tuple size supported by the library.</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -65,9 +66,9 @@ and <a href="repeat.htm#BOOST_PP_REPEAT">BOOST_PP_REPEAT</a> family).</p>
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,7 +23,7 @@
|
|||||||
<a href="limits.htm">Prev</a> <a href="list_adt.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="limits.htm">Prev</a> <a href="list_adt.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/list.hpp">boost/preprocessor/list.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/list.hpp">boost/preprocessor/list.hpp</a>></h2>
|
||||||
<p>Includes all list headers.</p>
|
<p>Includes all list headers.</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -33,9 +34,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,7 +23,7 @@
|
|||||||
<a href="list.htm">Prev</a> <a href="list_append.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="list.htm">Prev</a> <a href="list_append.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/list/adt.hpp">boost/preprocessor/list/adt.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/list/adt.hpp">boost/preprocessor/list/adt.hpp</a>></h2>
|
||||||
<p>This header defines the fundamental list operations.</p>
|
<p>This header defines the fundamental list operations.</p>
|
||||||
|
|
||||||
<h3>Note</h3>
|
<h3>Note</h3>
|
||||||
@ -34,7 +35,7 @@
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_CONS">#define BOOST_PP_LIST_CONS</a>(FIRST,REST)</h2>
|
<h3><a name="BOOST_PP_LIST_CONS">#define BOOST_PP_LIST_CONS</a>(FIRST,REST)</h3>
|
||||||
<p>List constructor.</p>
|
<p>List constructor.</p>
|
||||||
|
|
||||||
<p>Lists are build using list constructors <a href="list_adt.htm#BOOST_PP_LIST_NIL">BOOST_PP_LIST_NIL</a> and
|
<p>Lists are build using list constructors <a href="list_adt.htm#BOOST_PP_LIST_NIL">BOOST_PP_LIST_NIL</a> and
|
||||||
@ -75,19 +76,19 @@ and <a href="list_fold_right_2nd.htm#BOOST_PP_LIST_FOLD_RIGHT_2ND">BOOST_PP_LIST
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_NIL">#define BOOST_PP_LIST_NIL</a></h2>
|
<h3><a name="BOOST_PP_LIST_NIL">#define BOOST_PP_LIST_NIL</a></h3>
|
||||||
<p>List nil constructor.</p>
|
<p>List nil constructor.</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_IS_CONS">#define BOOST_PP_LIST_IS_CONS</a>(LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_IS_CONS">#define BOOST_PP_LIST_IS_CONS</a>(LIST)</h3>
|
||||||
<p>Expands to 1 if the list is not nil and 0 otherwise.</p>
|
<p>Expands to 1 if the list is not nil and 0 otherwise.</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_IS_NIL">#define BOOST_PP_LIST_IS_NIL</a>(LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_IS_NIL">#define BOOST_PP_LIST_IS_NIL</a>(LIST)</h3>
|
||||||
<p>Expands to 1 if the list is nil and 0 otherwise.</p>
|
<p>Expands to 1 if the list is nil and 0 otherwise.</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_FIRST">#define BOOST_PP_LIST_FIRST</a>(LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_FIRST">#define BOOST_PP_LIST_FIRST</a>(LIST)</h3>
|
||||||
<p>Expands to the first element of the list. The list must not be nil.</p>
|
<p>Expands to the first element of the list. The list must not be nil.</p>
|
||||||
|
|
||||||
<p>For example,</p>
|
<p>For example,</p>
|
||||||
@ -100,7 +101,7 @@ and <a href="list_fold_right_2nd.htm#BOOST_PP_LIST_FOLD_RIGHT_2ND">BOOST_PP_LIST
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_REST">#define BOOST_PP_LIST_REST</a>(LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_REST">#define BOOST_PP_LIST_REST</a>(LIST)</h3>
|
||||||
<p>Expands to a list of all but the first element of the list.</p>
|
<p>Expands to a list of all but the first element of the list.</p>
|
||||||
|
|
||||||
<p>The list must not be nil.</p>
|
<p>The list must not be nil.</p>
|
||||||
@ -126,9 +127,9 @@ and <a href="list_fold_right_2nd.htm#BOOST_PP_LIST_FOLD_RIGHT_2ND">BOOST_PP_LIST
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="list_adt.htm">Prev</a> <a href="list_at.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="list_adt.htm">Prev</a> <a href="list_at.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/list/append.hpp">boost/preprocessor/list/append.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/list/append.hpp">boost/preprocessor/list/append.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_APPEND">#define BOOST_PP_LIST_APPEND</a>(LIST_1ST,LIST_2ND)</h2>
|
<h3><a name="BOOST_PP_LIST_APPEND">#define BOOST_PP_LIST_APPEND</a>(LIST_1ST,LIST_2ND)</h3>
|
||||||
<p>Catenates two lists together.</p>
|
<p>Catenates two lists together.</p>
|
||||||
|
|
||||||
<p>For example,</p>
|
<p>For example,</p>
|
||||||
@ -56,7 +57,7 @@
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_APPEND_D">#define BOOST_PP_LIST_APPEND_D</a>(D,LIST_1ST,LIST_2ND)</h2>
|
<h3><a name="BOOST_PP_LIST_APPEND_D">#define BOOST_PP_LIST_APPEND_D</a>(D,LIST_1ST,LIST_2ND)</h3>
|
||||||
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -67,9 +68,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="list_append.htm">Prev</a> <a href="list_cat.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="list_append.htm">Prev</a> <a href="list_cat.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/list/at.hpp">boost/preprocessor/list/at.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/list/at.hpp">boost/preprocessor/list/at.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_AT">#define BOOST_PP_LIST_AT</a>(LIST,INDEX)</h2>
|
<h3><a name="BOOST_PP_LIST_AT">#define BOOST_PP_LIST_AT</a>(LIST,INDEX)</h3>
|
||||||
<p>Expands to the <code>INDEX</code>:th element of the list <code>LIST</code>. The
|
<p>Expands to the <code>INDEX</code>:th element of the list <code>LIST</code>. The
|
||||||
first element is at index <code>0</code>.</p>
|
first element is at index <code>0</code>.</p>
|
||||||
|
|
||||||
@ -50,7 +51,7 @@ first element is at index <code>0</code>.</p>
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_AT_D">#define BOOST_PP_LIST_AT_D</a>(D,LIST,INDEX)</h2>
|
<h3><a name="BOOST_PP_LIST_AT_D">#define BOOST_PP_LIST_AT_D</a>(D,LIST,INDEX)</h3>
|
||||||
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -61,9 +62,9 @@ first element is at index <code>0</code>.</p>
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="list_at.htm">Prev</a> <a href="list_enum.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="list_at.htm">Prev</a> <a href="list_enum.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/list/cat.hpp">boost/preprocessor/list/cat.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/list/cat.hpp">boost/preprocessor/list/cat.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_CAT">#define BOOST_PP_LIST_CAT</a>(LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_CAT">#define BOOST_PP_LIST_CAT</a>(LIST)</h3>
|
||||||
<p>Catenates all elements of the list.</p>
|
<p>Catenates all elements of the list.</p>
|
||||||
|
|
||||||
<p>For example,</p>
|
<p>For example,</p>
|
||||||
@ -53,7 +54,7 @@
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_CAT_D">#define BOOST_PP_LIST_CAT_D</a>(D,LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_CAT_D">#define BOOST_PP_LIST_CAT_D</a>(D,LIST)</h3>
|
||||||
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -64,9 +65,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="list_cat.htm">Prev</a> <a href="list_filter.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="list_cat.htm">Prev</a> <a href="list_filter.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/list/enum.hpp">boost/preprocessor/list/enum.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/list/enum.hpp">boost/preprocessor/list/enum.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_ENUM">#define BOOST_PP_LIST_ENUM</a>(LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_ENUM">#define BOOST_PP_LIST_ENUM</a>(LIST)</h3>
|
||||||
<p>Converts the list to a comma separated list.</p>
|
<p>Converts the list to a comma separated list.</p>
|
||||||
|
|
||||||
<p>For example,</p>
|
<p>For example,</p>
|
||||||
@ -48,7 +49,7 @@
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_ENUM_R">#define BOOST_PP_LIST_ENUM_R</a>(R,LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_ENUM_R">#define BOOST_PP_LIST_ENUM_R</a>(R,LIST)</h3>
|
||||||
<p>Can be used inside <a href="for.htm#BOOST_PP_FOR">BOOST_PP_FOR</a>().</p>
|
<p>Can be used inside <a href="for.htm#BOOST_PP_FOR">BOOST_PP_FOR</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -59,9 +60,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="list_enum.htm">Prev</a> <a href="list_first_n.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="list_enum.htm">Prev</a> <a href="list_first_n.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/list/filter.hpp">boost/preprocessor/list/filter.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/list/filter.hpp">boost/preprocessor/list/filter.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_FILTER">#define BOOST_PP_LIST_FILTER</a>(PRED,DATA,LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_FILTER">#define BOOST_PP_LIST_FILTER</a>(PRED,DATA,LIST)</h3>
|
||||||
<p>Expands to a list containing all the elements <code>X</code> of the list
|
<p>Expands to a list containing all the elements <code>X</code> of the list
|
||||||
for which <code>PRED(D,DATA,X)</code> is true.</p>
|
for which <code>PRED(D,DATA,X)</code> is true.</p>
|
||||||
|
|
||||||
@ -55,7 +56,7 @@ for which <code>PRED(D,DATA,X)</code> is true.</p>
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_FILTER_D">#define BOOST_PP_LIST_FILTER_D</a>(D,PRED,DATA,LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_FILTER_D">#define BOOST_PP_LIST_FILTER_D</a>(D,PRED,DATA,LIST)</h3>
|
||||||
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -66,9 +67,9 @@ for which <code>PRED(D,DATA,X)</code> is true.</p>
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="list_filter.htm">Prev</a> <a href="list_fold_left.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="list_filter.htm">Prev</a> <a href="list_fold_left.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/list/first_n.hpp">boost/preprocessor/list/first_n.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/list/first_n.hpp">boost/preprocessor/list/first_n.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_FIRST_N">#define BOOST_PP_LIST_FIRST_N</a>(COUNT,LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_FIRST_N">#define BOOST_PP_LIST_FIRST_N</a>(COUNT,LIST)</h3>
|
||||||
<p>Expands to a list of the first <code>COUNT</code> elements of the list
|
<p>Expands to a list of the first <code>COUNT</code> elements of the list
|
||||||
<code>LIST</code>.</p>
|
<code>LIST</code>.</p>
|
||||||
|
|
||||||
@ -59,7 +60,7 @@
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_FIRST_N_D">#define BOOST_PP_LIST_FIRST_N_D</a>(D,COUNT,LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_FIRST_N_D">#define BOOST_PP_LIST_FIRST_N_D</a>(D,COUNT,LIST)</h3>
|
||||||
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -70,9 +71,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="list_first_n.htm">Prev</a> <a href="list_fold_left_2nd.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="list_first_n.htm">Prev</a> <a href="list_fold_left_2nd.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/list/fold_left.hpp">boost/preprocessor/list/fold_left.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/list/fold_left.hpp">boost/preprocessor/list/fold_left.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_FOLD_LEFT">#define BOOST_PP_LIST_FOLD_LEFT</a>(OP,STATE,LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_FOLD_LEFT">#define BOOST_PP_LIST_FOLD_LEFT</a>(OP,STATE,LIST)</h3>
|
||||||
<p>Iterates <code>OP(D,STATE,X)</code> for each element <code>X</code> of the
|
<p>Iterates <code>OP(D,STATE,X)</code> for each element <code>X</code> of the
|
||||||
list <code>LIST</code> (from the left or the start of the list).</p>
|
list <code>LIST</code> (from the left or the start of the list).</p>
|
||||||
|
|
||||||
@ -76,7 +77,7 @@ list <code>LIST</code> (from the left or the start of the list).</p>
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_FOLD_LEFT_D">#define BOOST_PP_LIST_FOLD_LEFT_D</a>(D,OP,STATE,LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_FOLD_LEFT_D">#define BOOST_PP_LIST_FOLD_LEFT_D</a>(D,OP,STATE,LIST)</h3>
|
||||||
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -87,9 +88,9 @@ list <code>LIST</code> (from the left or the start of the list).</p>
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,15 +23,15 @@
|
|||||||
<a href="list_fold_left.htm">Prev</a> <a href="list_fold_right.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="list_fold_left.htm">Prev</a> <a href="list_fold_right.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/list/fold_left_2nd.hpp">boost/preprocessor/list/fold_left_2nd.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/list/fold_left_2nd.hpp">boost/preprocessor/list/fold_left_2nd.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_FOLD_LEFT_2ND">#define BOOST_PP_LIST_FOLD_LEFT_2ND</a>(OP,STATE,LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_FOLD_LEFT_2ND">#define BOOST_PP_LIST_FOLD_LEFT_2ND</a>(OP,STATE,LIST)</h3>
|
||||||
<p>Same as <a href="list_fold_left.htm#BOOST_PP_LIST_FOLD_LEFT">BOOST_PP_LIST_FOLD_LEFT</a>(), but implemented independently.</p>
|
<p>Same as <a href="list_fold_left.htm#BOOST_PP_LIST_FOLD_LEFT">BOOST_PP_LIST_FOLD_LEFT</a>(), but implemented independently.</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_FOLD_LEFT_2ND_D">#define BOOST_PP_LIST_FOLD_LEFT_2ND_D</a>(D,OP,STATE,LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_FOLD_LEFT_2ND_D">#define BOOST_PP_LIST_FOLD_LEFT_2ND_D</a>(D,OP,STATE,LIST)</h3>
|
||||||
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -41,9 +42,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="list_fold_left_2nd.htm">Prev</a> <a href="list_fold_right_2nd.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="list_fold_left_2nd.htm">Prev</a> <a href="list_fold_right_2nd.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/list/fold_right.hpp">boost/preprocessor/list/fold_right.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/list/fold_right.hpp">boost/preprocessor/list/fold_right.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_FOLD_RIGHT">#define BOOST_PP_LIST_FOLD_RIGHT</a>(OP,LIST,STATE)</h2>
|
<h3><a name="BOOST_PP_LIST_FOLD_RIGHT">#define BOOST_PP_LIST_FOLD_RIGHT</a>(OP,LIST,STATE)</h3>
|
||||||
<p>Iterates <code>OP(D,X,STATE)</code> for each element <code>X</code> of the
|
<p>Iterates <code>OP(D,X,STATE)</code> for each element <code>X</code> of the
|
||||||
list <code>LIST</code> (from the right or the end of the list).</p>
|
list <code>LIST</code> (from the right or the end of the list).</p>
|
||||||
|
|
||||||
@ -74,7 +75,7 @@ list <code>LIST</code> (from the right or the end of the list).</p>
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_FOLD_RIGHT_D">#define BOOST_PP_LIST_FOLD_RIGHT_D</a>(D,OP,LIST,STATE)</h2>
|
<h3><a name="BOOST_PP_LIST_FOLD_RIGHT_D">#define BOOST_PP_LIST_FOLD_RIGHT_D</a>(D,OP,LIST,STATE)</h3>
|
||||||
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -85,9 +86,9 @@ list <code>LIST</code> (from the right or the end of the list).</p>
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,15 +23,15 @@
|
|||||||
<a href="list_fold_right.htm">Prev</a> <a href="list_for_each.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="list_fold_right.htm">Prev</a> <a href="list_for_each.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/list/fold_right_2nd.hpp">boost/preprocessor/list/fold_right_2nd.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/list/fold_right_2nd.hpp">boost/preprocessor/list/fold_right_2nd.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_FOLD_RIGHT_2ND">#define BOOST_PP_LIST_FOLD_RIGHT_2ND</a>(OP,LIST,STATE)</h2>
|
<h3><a name="BOOST_PP_LIST_FOLD_RIGHT_2ND">#define BOOST_PP_LIST_FOLD_RIGHT_2ND</a>(OP,LIST,STATE)</h3>
|
||||||
<p>Same as <a href="list_fold_right.htm#BOOST_PP_LIST_FOLD_RIGHT">BOOST_PP_LIST_FOLD_RIGHT</a>(), but implemented independently.</p>
|
<p>Same as <a href="list_fold_right.htm#BOOST_PP_LIST_FOLD_RIGHT">BOOST_PP_LIST_FOLD_RIGHT</a>(), but implemented independently.</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_FOLD_RIGHT_2ND_D">#define BOOST_PP_LIST_FOLD_RIGHT_2ND_D</a>(D,OP,LIST,STATE)</h2>
|
<h3><a name="BOOST_PP_LIST_FOLD_RIGHT_2ND_D">#define BOOST_PP_LIST_FOLD_RIGHT_2ND_D</a>(D,OP,LIST,STATE)</h3>
|
||||||
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -41,9 +42,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="list_fold_right_2nd.htm">Prev</a> <a href="list_for_each_i.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="list_fold_right_2nd.htm">Prev</a> <a href="list_for_each_i.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/list/for_each.hpp">boost/preprocessor/list/for_each.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/list/for_each.hpp">boost/preprocessor/list/for_each.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_FOR_EACH">#define BOOST_PP_LIST_FOR_EACH</a>(MACRO,DATA,LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_FOR_EACH">#define BOOST_PP_LIST_FOR_EACH</a>(MACRO,DATA,LIST)</h3>
|
||||||
<p>Repeats <code>MACRO(R,DATA,<a href="list_at.htm#BOOST_PP_LIST_AT">BOOST_PP_LIST_AT</a>(LIST,INDEX))</code> for each INDEX = [0,
|
<p>Repeats <code>MACRO(R,DATA,<a href="list_at.htm#BOOST_PP_LIST_AT">BOOST_PP_LIST_AT</a>(LIST,INDEX))</code> for each INDEX = [0,
|
||||||
<a href="list_size.htm#BOOST_PP_LIST_SIZE">BOOST_PP_LIST_SIZE</a>(LIST)).</p>
|
<a href="list_size.htm#BOOST_PP_LIST_SIZE">BOOST_PP_LIST_SIZE</a>(LIST)).</p>
|
||||||
|
|
||||||
@ -70,7 +71,7 @@
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_FOR_EACH_R">#define BOOST_PP_LIST_FOR_EACH_R</a>(R,MACRO,DATA,LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_FOR_EACH_R">#define BOOST_PP_LIST_FOR_EACH_R</a>(R,MACRO,DATA,LIST)</h3>
|
||||||
<p>Can be used inside <a href="for.htm#BOOST_PP_FOR">BOOST_PP_FOR</a>().</p>
|
<p>Can be used inside <a href="for.htm#BOOST_PP_FOR">BOOST_PP_FOR</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -81,9 +82,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="list_for_each.htm">Prev</a> <a href="list_for_each_product.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="list_for_each.htm">Prev</a> <a href="list_for_each_product.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/list/for_each_i.hpp">boost/preprocessor/list/for_each_i.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/list/for_each_i.hpp">boost/preprocessor/list/for_each_i.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_FOR_EACH_I">#define BOOST_PP_LIST_FOR_EACH_I</a>(MACRO,DATA,LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_FOR_EACH_I">#define BOOST_PP_LIST_FOR_EACH_I</a>(MACRO,DATA,LIST)</h3>
|
||||||
<p>Repeats <code>MACRO(R,DATA,INDEX,<a href="list_at.htm#BOOST_PP_LIST_AT">BOOST_PP_LIST_AT</a>(LIST,INDEX))</code> for each INDEX = [0,
|
<p>Repeats <code>MACRO(R,DATA,INDEX,<a href="list_at.htm#BOOST_PP_LIST_AT">BOOST_PP_LIST_AT</a>(LIST,INDEX))</code> for each INDEX = [0,
|
||||||
<a href="list_size.htm#BOOST_PP_LIST_SIZE">BOOST_PP_LIST_SIZE</a>(LIST)).</p>
|
<a href="list_size.htm#BOOST_PP_LIST_SIZE">BOOST_PP_LIST_SIZE</a>(LIST)).</p>
|
||||||
|
|
||||||
@ -59,7 +60,7 @@
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_FOR_EACH_I_R">#define BOOST_PP_LIST_FOR_EACH_I_R</a>(R,MACRO,DATA,LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_FOR_EACH_I_R">#define BOOST_PP_LIST_FOR_EACH_I_R</a>(R,MACRO,DATA,LIST)</h3>
|
||||||
<p>Can be used inside <a href="for.htm#BOOST_PP_FOR">BOOST_PP_FOR</a>().</p>
|
<p>Can be used inside <a href="for.htm#BOOST_PP_FOR">BOOST_PP_FOR</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -70,9 +71,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="list_for_each_i.htm">Prev</a> <a href="list_rest_n.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="list_for_each_i.htm">Prev</a> <a href="list_rest_n.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/list/for_each_product.hpp">boost/preprocessor/list/for_each_product.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/list/for_each_product.hpp">boost/preprocessor/list/for_each_product.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_FOR_EACH_PRODUCT">#define BOOST_PP_LIST_FOR_EACH_PRODUCT</a>(MACRO,SIZE_OF_TUPLE,TUPLE_OF_LISTS)</h2>
|
<h3><a name="BOOST_PP_LIST_FOR_EACH_PRODUCT">#define BOOST_PP_LIST_FOR_EACH_PRODUCT</a>(MACRO,SIZE_OF_TUPLE,TUPLE_OF_LISTS)</h3>
|
||||||
<p>Repeats <code>MACRO(R,X)</code> for each element <code>X</code> of the
|
<p>Repeats <code>MACRO(R,X)</code> for each element <code>X</code> of the
|
||||||
cartesian product of the lists of the <code>SIZE_OF_TUPLE</code>-tuple <code>TUPLE_OF_LISTS</code>.</p>
|
cartesian product of the lists of the <code>SIZE_OF_TUPLE</code>-tuple <code>TUPLE_OF_LISTS</code>.</p>
|
||||||
|
|
||||||
@ -70,7 +71,7 @@ explosion.</p>
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_FOR_EACH_PRODUCT_R">#define BOOST_PP_LIST_FOR_EACH_PRODUCT_R</a>(R,MACRO,SIZE_OF_TUPLE,TUPLE_OF_LISTS)</h2>
|
<h3><a name="BOOST_PP_LIST_FOR_EACH_PRODUCT_R">#define BOOST_PP_LIST_FOR_EACH_PRODUCT_R</a>(R,MACRO,SIZE_OF_TUPLE,TUPLE_OF_LISTS)</h3>
|
||||||
<p>Can be used inside <a href="for.htm#BOOST_PP_FOR">BOOST_PP_FOR</a>().</p>
|
<p>Can be used inside <a href="for.htm#BOOST_PP_FOR">BOOST_PP_FOR</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -81,9 +82,9 @@ explosion.</p>
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="list_for_each_product.htm">Prev</a> <a href="list_reverse.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="list_for_each_product.htm">Prev</a> <a href="list_reverse.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/list/rest_n.hpp">boost/preprocessor/list/rest_n.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/list/rest_n.hpp">boost/preprocessor/list/rest_n.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_REST_N">#define BOOST_PP_LIST_REST_N</a>(COUNT,LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_REST_N">#define BOOST_PP_LIST_REST_N</a>(COUNT,LIST)</h3>
|
||||||
<p>Expands to a list of all but the first <code>COUNT</code> elements of the
|
<p>Expands to a list of all but the first <code>COUNT</code> elements of the
|
||||||
list <code>LIST</code>.</p>
|
list <code>LIST</code>.</p>
|
||||||
|
|
||||||
@ -59,7 +60,7 @@ list <code>LIST</code>.</p>
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_REST_N_D">#define BOOST_PP_LIST_REST_N_D</a>(D,COUNT,LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_REST_N_D">#define BOOST_PP_LIST_REST_N_D</a>(D,COUNT,LIST)</h3>
|
||||||
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -70,9 +71,9 @@ list <code>LIST</code>.</p>
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="list_rest_n.htm">Prev</a> <a href="list_size.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="list_rest_n.htm">Prev</a> <a href="list_size.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/list/reverse.hpp">boost/preprocessor/list/reverse.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/list/reverse.hpp">boost/preprocessor/list/reverse.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_REVERSE">#define BOOST_PP_LIST_REVERSE</a>(LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_REVERSE">#define BOOST_PP_LIST_REVERSE</a>(LIST)</h3>
|
||||||
<p>List reversal.</p>
|
<p>List reversal.</p>
|
||||||
|
|
||||||
<p>For example,</p>
|
<p>For example,</p>
|
||||||
@ -53,7 +54,7 @@
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_REVERSE_D">#define BOOST_PP_LIST_REVERSE_D</a>(D,LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_REVERSE_D">#define BOOST_PP_LIST_REVERSE_D</a>(D,LIST)</h3>
|
||||||
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -64,9 +65,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="list_reverse.htm">Prev</a> <a href="list_to_tuple.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="list_reverse.htm">Prev</a> <a href="list_to_tuple.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/list/size.hpp">boost/preprocessor/list/size.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/list/size.hpp">boost/preprocessor/list/size.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_SIZE">#define BOOST_PP_LIST_SIZE</a>(LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_SIZE">#define BOOST_PP_LIST_SIZE</a>(LIST)</h3>
|
||||||
<p>Expands to the number of elements in the list.</p>
|
<p>Expands to the number of elements in the list.</p>
|
||||||
|
|
||||||
<p>For example,</p>
|
<p>For example,</p>
|
||||||
@ -49,7 +50,7 @@
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_SIZE_D">#define BOOST_PP_LIST_SIZE_D</a>(D,LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_SIZE_D">#define BOOST_PP_LIST_SIZE_D</a>(D,LIST)</h3>
|
||||||
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -60,9 +61,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="list_size.htm">Prev</a> <a href="list_transform.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="list_size.htm">Prev</a> <a href="list_transform.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/list/to_tuple.hpp">boost/preprocessor/list/to_tuple.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/list/to_tuple.hpp">boost/preprocessor/list/to_tuple.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_TO_TUPLE">#define BOOST_PP_LIST_TO_TUPLE</a>(LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_TO_TUPLE">#define BOOST_PP_LIST_TO_TUPLE</a>(LIST)</h3>
|
||||||
<p>Converts the list to a tuple.</p>
|
<p>Converts the list to a tuple.</p>
|
||||||
|
|
||||||
<p>For example,</p>
|
<p>For example,</p>
|
||||||
@ -55,7 +56,7 @@
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_TO_TUPLE_R">#define BOOST_PP_LIST_TO_TUPLE_R</a>(R,LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_TO_TUPLE_R">#define BOOST_PP_LIST_TO_TUPLE_R</a>(R,LIST)</h3>
|
||||||
<p>Can be used inside <a href="for.htm#BOOST_PP_FOR">BOOST_PP_FOR</a>().</p>
|
<p>Can be used inside <a href="for.htm#BOOST_PP_FOR">BOOST_PP_FOR</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -66,9 +67,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="list_to_tuple.htm">Prev</a> <a href="logical.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="list_to_tuple.htm">Prev</a> <a href="logical.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/list/transform.hpp">boost/preprocessor/list/transform.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/list/transform.hpp">boost/preprocessor/list/transform.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_TRANSFORM">#define BOOST_PP_LIST_TRANSFORM</a>(OP,DATA,LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_TRANSFORM">#define BOOST_PP_LIST_TRANSFORM</a>(OP,DATA,LIST)</h3>
|
||||||
<p>Applies the macro <code>OP(D,DATA,X)</code> to each element <code>X</code>
|
<p>Applies the macro <code>OP(D,DATA,X)</code> to each element <code>X</code>
|
||||||
of the list producing a new list.</p>
|
of the list producing a new list.</p>
|
||||||
|
|
||||||
@ -65,7 +66,7 @@ of the list producing a new list.</p>
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_LIST_TRANSFORM_D">#define BOOST_PP_LIST_TRANSFORM_D</a>(D,OP,DATA,LIST)</h2>
|
<h3><a name="BOOST_PP_LIST_TRANSFORM_D">#define BOOST_PP_LIST_TRANSFORM_D</a>(D,OP,DATA,LIST)</h3>
|
||||||
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -76,9 +77,9 @@ of the list producing a new list.</p>
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,7 +23,7 @@
|
|||||||
<a href="list_transform.htm">Prev</a> <a href="logical_and.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="list_transform.htm">Prev</a> <a href="logical_and.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/logical.hpp">boost/preprocessor/logical.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/logical.hpp">boost/preprocessor/logical.hpp</a>></h2>
|
||||||
<p>Includes all logical headers.</p>
|
<p>Includes all logical headers.</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -33,9 +34,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="logical.htm">Prev</a> <a href="logical_bool.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="logical.htm">Prev</a> <a href="logical_bool.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/logical/and.hpp">boost/preprocessor/logical/and.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/logical/and.hpp">boost/preprocessor/logical/and.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_AND">#define BOOST_PP_AND</a>(X,Y)</h2>
|
<h3><a name="BOOST_PP_AND">#define BOOST_PP_AND</a>(X,Y)</h3>
|
||||||
<p>Expands to the logical AND of the operands.</p>
|
<p>Expands to the logical AND of the operands.</p>
|
||||||
|
|
||||||
<p>Both <code>X</code> and <code>Y</code> must expand to integer literals
|
<p>Both <code>X</code> and <code>Y</code> must expand to integer literals
|
||||||
@ -48,9 +49,9 @@ in the range [0, <a href="limits.htm#BOOST_PP_LIMIT_MAG">BOOST_PP_LIMIT_MAG</a>]
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="logical_and.htm">Prev</a> <a href="logical_nor.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="logical_and.htm">Prev</a> <a href="logical_nor.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/logical/bool.hpp">boost/preprocessor/logical/bool.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/logical/bool.hpp">boost/preprocessor/logical/bool.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_BOOL">#define BOOST_PP_BOOL</a>(X)</h2>
|
<h3><a name="BOOST_PP_BOOL">#define BOOST_PP_BOOL</a>(X)</h3>
|
||||||
<p>Expands to <code>0</code> if <code>X == 0</code> and <code>1</code> if <code>X != 0</code>.</p>
|
<p>Expands to <code>0</code> if <code>X == 0</code> and <code>1</code> if <code>X != 0</code>.</p>
|
||||||
|
|
||||||
<p><code>X</code> must be an integer literal in the range [0, <a href="limits.htm#BOOST_PP_LIMIT_MAG">BOOST_PP_LIMIT_MAG</a>].</p>
|
<p><code>X</code> must be an integer literal in the range [0, <a href="limits.htm#BOOST_PP_LIMIT_MAG">BOOST_PP_LIMIT_MAG</a>].</p>
|
||||||
@ -42,9 +43,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="logical_bool.htm">Prev</a> <a href="logical_not.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="logical_bool.htm">Prev</a> <a href="logical_not.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/logical/nor.hpp">boost/preprocessor/logical/nor.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/logical/nor.hpp">boost/preprocessor/logical/nor.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_NOR">#define BOOST_PP_NOR</a>(X,Y)</h2>
|
<h3><a name="BOOST_PP_NOR">#define BOOST_PP_NOR</a>(X,Y)</h3>
|
||||||
<p>Expands to the logical NEITHER OR of the operands.</p>
|
<p>Expands to the logical NEITHER OR of the operands.</p>
|
||||||
|
|
||||||
<p>Both <code>X</code> and <code>Y</code> must expand to integer literals
|
<p>Both <code>X</code> and <code>Y</code> must expand to integer literals
|
||||||
@ -48,9 +49,9 @@ in the range [0, <a href="limits.htm#BOOST_PP_LIMIT_MAG">BOOST_PP_LIMIT_MAG</a>]
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="logical_nor.htm">Prev</a> <a href="logical_or.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="logical_nor.htm">Prev</a> <a href="logical_or.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/logical/not.hpp">boost/preprocessor/logical/not.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/logical/not.hpp">boost/preprocessor/logical/not.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_NOT">#define BOOST_PP_NOT</a>(X)</h2>
|
<h3><a name="BOOST_PP_NOT">#define BOOST_PP_NOT</a>(X)</h3>
|
||||||
<p>Expands to the logical NOT of the operand.</p>
|
<p>Expands to the logical NOT of the operand.</p>
|
||||||
|
|
||||||
<p><code>X</code> must be an integer literal in the range [0, <a href="limits.htm#BOOST_PP_LIMIT_MAG">BOOST_PP_LIMIT_MAG</a>].</p>
|
<p><code>X</code> must be an integer literal in the range [0, <a href="limits.htm#BOOST_PP_LIMIT_MAG">BOOST_PP_LIMIT_MAG</a>].</p>
|
||||||
@ -47,9 +48,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="logical_not.htm">Prev</a> <a href="logical_xor.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="logical_not.htm">Prev</a> <a href="logical_xor.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/logical/or.hpp">boost/preprocessor/logical/or.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/logical/or.hpp">boost/preprocessor/logical/or.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_OR">#define BOOST_PP_OR</a>(X,Y)</h2>
|
<h3><a name="BOOST_PP_OR">#define BOOST_PP_OR</a>(X,Y)</h3>
|
||||||
<p>Expands to the logical OR of the operands.</p>
|
<p>Expands to the logical OR of the operands.</p>
|
||||||
|
|
||||||
<p>Both <code>X</code> and <code>Y</code> must expand to integer literals
|
<p>Both <code>X</code> and <code>Y</code> must expand to integer literals
|
||||||
@ -48,9 +49,9 @@ in the range [0, <a href="limits.htm#BOOST_PP_LIMIT_MAG">BOOST_PP_LIMIT_MAG</a>]
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="logical_or.htm">Prev</a> <a href="max.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="logical_or.htm">Prev</a> <a href="max.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/logical/xor.hpp">boost/preprocessor/logical/xor.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/logical/xor.hpp">boost/preprocessor/logical/xor.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_XOR">#define BOOST_PP_XOR</a>(X,Y)</h2>
|
<h3><a name="BOOST_PP_XOR">#define BOOST_PP_XOR</a>(X,Y)</h3>
|
||||||
<p>Expands to the logical EXCLUSIVE OR of the operands.</p>
|
<p>Expands to the logical EXCLUSIVE OR of the operands.</p>
|
||||||
|
|
||||||
<p>Both <code>X</code> and <code>Y</code> must expand to integer literals
|
<p>Both <code>X</code> and <code>Y</code> must expand to integer literals
|
||||||
@ -48,9 +49,9 @@ in the range [0, <a href="limits.htm#BOOST_PP_LIMIT_MAG">BOOST_PP_LIMIT_MAG</a>]
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="logical_xor.htm">Prev</a> <a href="min.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="logical_xor.htm">Prev</a> <a href="min.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/max.hpp">boost/preprocessor/max.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/max.hpp">boost/preprocessor/max.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_MAX">#define BOOST_PP_MAX</a>(X,Y)</h2>
|
<h3><a name="BOOST_PP_MAX">#define BOOST_PP_MAX</a>(X,Y)</h3>
|
||||||
<p>Expands to the maximum of <code>X</code> and <code>Y</code>.</p>
|
<p>Expands to the maximum of <code>X</code> and <code>Y</code>.</p>
|
||||||
|
|
||||||
<p>Both <code>X</code> and <code>Y</code> must expand to integer literals
|
<p>Both <code>X</code> and <code>Y</code> must expand to integer literals
|
||||||
@ -47,7 +48,7 @@ single token).</p>
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_MAX_D">#define BOOST_PP_MAX_D</a>(D,X,Y)</h2>
|
<h3><a name="BOOST_PP_MAX_D">#define BOOST_PP_MAX_D</a>(D,X,Y)</h3>
|
||||||
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -58,9 +59,9 @@ single token).</p>
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="max.htm">Prev</a> <a href="repeat.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="max.htm">Prev</a> <a href="repeat.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/min.hpp">boost/preprocessor/min.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/min.hpp">boost/preprocessor/min.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_MIN">#define BOOST_PP_MIN</a>(X,Y)</h2>
|
<h3><a name="BOOST_PP_MIN">#define BOOST_PP_MIN</a>(X,Y)</h3>
|
||||||
<p>Expands to the minimum of <code>X</code> and <code>Y</code>.</p>
|
<p>Expands to the minimum of <code>X</code> and <code>Y</code>.</p>
|
||||||
|
|
||||||
<p>Both <code>X</code> and <code>Y</code> must expand to integer literals
|
<p>Both <code>X</code> and <code>Y</code> must expand to integer literals
|
||||||
@ -47,7 +48,7 @@ single token).</p>
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_MIN_D">#define BOOST_PP_MIN_D</a>(D,X,Y)</h2>
|
<h3><a name="BOOST_PP_MIN_D">#define BOOST_PP_MIN_D</a>(D,X,Y)</h3>
|
||||||
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
<p>Can be used inside <a href="while.htm#BOOST_PP_WHILE">BOOST_PP_WHILE</a>().</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -58,9 +59,9 @@ single token).</p>
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="min.htm">Prev</a> <a href="repeat_2nd.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="min.htm">Prev</a> <a href="repeat_2nd.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/repeat.hpp">boost/preprocessor/repeat.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/repeat.hpp">boost/preprocessor/repeat.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_REPEAT">#define BOOST_PP_REPEAT</a>(COUNT,MACRO,DATA)</h2>
|
<h3><a name="BOOST_PP_REPEAT">#define BOOST_PP_REPEAT</a>(COUNT,MACRO,DATA)</h3>
|
||||||
<p>Repeats the macro <code>MACRO(INDEX,DATA)</code> for <code>INDEX = [0,COUNT)</code>.</p>
|
<p>Repeats the macro <code>MACRO(INDEX,DATA)</code> for <code>INDEX = [0,COUNT)</code>.</p>
|
||||||
|
|
||||||
<p>In other words, expands to the sequence:</p>
|
<p>In other words, expands to the sequence:</p>
|
||||||
@ -74,9 +75,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="repeat.htm">Prev</a> <a href="repeat_3rd.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="repeat.htm">Prev</a> <a href="repeat_3rd.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/repeat_2nd.hpp">boost/preprocessor/repeat_2nd.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/repeat_2nd.hpp">boost/preprocessor/repeat_2nd.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_REPEAT_2ND">#define BOOST_PP_REPEAT_2ND</a>(COUNT,MACRO,DATA)</h2>
|
<h3><a name="BOOST_PP_REPEAT_2ND">#define BOOST_PP_REPEAT_2ND</a>(COUNT,MACRO,DATA)</h3>
|
||||||
<p>Same as <a href="repeat.htm#BOOST_PP_REPEAT">BOOST_PP_REPEAT</a>(), but implemented independently.</p>
|
<p>Same as <a href="repeat.htm#BOOST_PP_REPEAT">BOOST_PP_REPEAT</a>(), but implemented independently.</p>
|
||||||
|
|
||||||
<h3>Test</h3>
|
<h3>Test</h3>
|
||||||
@ -43,9 +44,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="repeat_2nd.htm">Prev</a> <a href="repeat_from_to.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="repeat_2nd.htm">Prev</a> <a href="repeat_from_to.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/repeat_3rd.hpp">boost/preprocessor/repeat_3rd.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/repeat_3rd.hpp">boost/preprocessor/repeat_3rd.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_REPEAT_3RD">#define BOOST_PP_REPEAT_3RD</a>(COUNT,MACRO,DATA)</h2>
|
<h3><a name="BOOST_PP_REPEAT_3RD">#define BOOST_PP_REPEAT_3RD</a>(COUNT,MACRO,DATA)</h3>
|
||||||
<p>Same as <a href="repeat.htm#BOOST_PP_REPEAT">BOOST_PP_REPEAT</a>(), but implemented independently.</p>
|
<p>Same as <a href="repeat.htm#BOOST_PP_REPEAT">BOOST_PP_REPEAT</a>(), but implemented independently.</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -37,9 +38,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="repeat_3rd.htm">Prev</a> <a href="repeat_from_to_2nd.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="repeat_3rd.htm">Prev</a> <a href="repeat_from_to_2nd.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/repeat_from_to.hpp">boost/preprocessor/repeat_from_to.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/repeat_from_to.hpp">boost/preprocessor/repeat_from_to.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_REPEAT_FROM_TO">#define BOOST_PP_REPEAT_FROM_TO</a>(FIRST,LAST,MACRO,DATA)</h2>
|
<h3><a name="BOOST_PP_REPEAT_FROM_TO">#define BOOST_PP_REPEAT_FROM_TO</a>(FIRST,LAST,MACRO,DATA)</h3>
|
||||||
<p>Repeats the macro <code>MACRO(INDEX,DATA)</code> for <code>INDEX = [FIRST,LAST)</code>.</p>
|
<p>Repeats the macro <code>MACRO(INDEX,DATA)</code> for <code>INDEX = [FIRST,LAST)</code>.</p>
|
||||||
|
|
||||||
<p>In other words, expands to the sequence:</p>
|
<p>In other words, expands to the sequence:</p>
|
||||||
@ -67,9 +68,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="repeat_from_to.htm">Prev</a> <a href="repeat_from_to_3rd.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="repeat_from_to.htm">Prev</a> <a href="repeat_from_to_3rd.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/repeat_from_to_2nd.hpp">boost/preprocessor/repeat_from_to_2nd.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/repeat_from_to_2nd.hpp">boost/preprocessor/repeat_from_to_2nd.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_REPEAT_FROM_TO_2ND">#define BOOST_PP_REPEAT_FROM_TO_2ND</a>(FIRST,LAST,MACRO,DATA)</h2>
|
<h3><a name="BOOST_PP_REPEAT_FROM_TO_2ND">#define BOOST_PP_REPEAT_FROM_TO_2ND</a>(FIRST,LAST,MACRO,DATA)</h3>
|
||||||
<p>Same as <a href="repeat_from_to.htm#BOOST_PP_REPEAT_FROM_TO">BOOST_PP_REPEAT_FROM_TO</a>(), but implemented independently.</p>
|
<p>Same as <a href="repeat_from_to.htm#BOOST_PP_REPEAT_FROM_TO">BOOST_PP_REPEAT_FROM_TO</a>(), but implemented independently.</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -37,9 +38,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="repeat_from_to_2nd.htm">Prev</a> <a href="stringize.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="repeat_from_to_2nd.htm">Prev</a> <a href="stringize.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/repeat_from_to_3rd.hpp">boost/preprocessor/repeat_from_to_3rd.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/repeat_from_to_3rd.hpp">boost/preprocessor/repeat_from_to_3rd.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_REPEAT_FROM_TO_3RD">#define BOOST_PP_REPEAT_FROM_TO_3RD</a>(FIRST,LAST,MACRO,DATA)</h2>
|
<h3><a name="BOOST_PP_REPEAT_FROM_TO_3RD">#define BOOST_PP_REPEAT_FROM_TO_3RD</a>(FIRST,LAST,MACRO,DATA)</h3>
|
||||||
<p>Same as <a href="repeat_from_to.htm#BOOST_PP_REPEAT_FROM_TO">BOOST_PP_REPEAT_FROM_TO</a>(), but implemented independently.</p>
|
<p>Same as <a href="repeat_from_to.htm#BOOST_PP_REPEAT_FROM_TO">BOOST_PP_REPEAT_FROM_TO</a>(), but implemented independently.</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -37,9 +38,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="repeat_from_to_3rd.htm">Prev</a> <a href="tuple.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="repeat_from_to_3rd.htm">Prev</a> <a href="tuple.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/stringize.hpp">boost/preprocessor/stringize.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/stringize.hpp">boost/preprocessor/stringize.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_STRINGIZE">#define BOOST_PP_STRINGIZE</a>(X)</h2>
|
<h3><a name="BOOST_PP_STRINGIZE">#define BOOST_PP_STRINGIZE</a>(X)</h3>
|
||||||
<p>Stringizes <code>X</code> after it is macro expanded.</p>
|
<p>Stringizes <code>X</code> after it is macro expanded.</p>
|
||||||
|
|
||||||
<p>For example, <code><a href="stringize.htm#BOOST_PP_STRINGIZE">BOOST_PP_STRINGIZE</a>(<a href="cat.htm#BOOST_PP_CAT">BOOST_PP_CAT</a>(a,b))</code> expands to <code>"ab"</code>.</p>
|
<p>For example, <code><a href="stringize.htm#BOOST_PP_STRINGIZE">BOOST_PP_STRINGIZE</a>(<a href="cat.htm#BOOST_PP_CAT">BOOST_PP_CAT</a>(a,b))</code> expands to <code>"ab"</code>.</p>
|
||||||
@ -50,9 +51,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,7 +23,7 @@
|
|||||||
<a href="stringize.htm">Prev</a> <a href="tuple_eat.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="stringize.htm">Prev</a> <a href="tuple_eat.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/tuple.hpp">boost/preprocessor/tuple.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/tuple.hpp">boost/preprocessor/tuple.hpp</a>></h2>
|
||||||
<p>Includes all tuple headers.</p>
|
<p>Includes all tuple headers.</p>
|
||||||
|
|
||||||
<p>A tuple is a fixed size collection of elements.</p>
|
<p>A tuple is a fixed size collection of elements.</p>
|
||||||
@ -50,9 +51,9 @@ constitutes a single macro parameter.</p>
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="tuple.htm">Prev</a> <a href="tuple_elem.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="tuple.htm">Prev</a> <a href="tuple_elem.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/tuple/eat.hpp">boost/preprocessor/tuple/eat.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/tuple/eat.hpp">boost/preprocessor/tuple/eat.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_TUPLE_EAT">#define BOOST_PP_TUPLE_EAT</a>(SIZE_OF_TUPLE)</h2>
|
<h3><a name="BOOST_PP_TUPLE_EAT">#define BOOST_PP_TUPLE_EAT</a>(SIZE_OF_TUPLE)</h3>
|
||||||
<p>Expands to a macro that eats a tuple of the specified size.</p>
|
<p>Expands to a macro that eats a tuple of the specified size.</p>
|
||||||
|
|
||||||
<p><a href="tuple_eat.htm#BOOST_PP_TUPLE_EAT">BOOST_PP_TUPLE_EAT</a>() is designed to be used with <a href="if.htm#BOOST_PP_IF">BOOST_PP_IF</a>() like
|
<p><a href="tuple_eat.htm#BOOST_PP_TUPLE_EAT">BOOST_PP_TUPLE_EAT</a>() is designed to be used with <a href="if.htm#BOOST_PP_IF">BOOST_PP_IF</a>() like
|
||||||
@ -49,9 +50,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="tuple_eat.htm">Prev</a> <a href="tuple_reverse.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="tuple_eat.htm">Prev</a> <a href="tuple_reverse.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/tuple/elem.hpp">boost/preprocessor/tuple/elem.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/tuple/elem.hpp">boost/preprocessor/tuple/elem.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_TUPLE_ELEM">#define BOOST_PP_TUPLE_ELEM</a>(SIZE_OF_TUPLE,INDEX,TUPLE)</h2>
|
<h3><a name="BOOST_PP_TUPLE_ELEM">#define BOOST_PP_TUPLE_ELEM</a>(SIZE_OF_TUPLE,INDEX,TUPLE)</h3>
|
||||||
<p>Expands to the <code>INDEX</code>:th element of an <code>SIZE_OF_TUPLE</code>-tuple.</p>
|
<p>Expands to the <code>INDEX</code>:th element of an <code>SIZE_OF_TUPLE</code>-tuple.</p>
|
||||||
|
|
||||||
<p>For example,</p>
|
<p>For example,</p>
|
||||||
@ -51,9 +52,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="tuple_elem.htm">Prev</a> <a href="tuple_to_list.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="tuple_elem.htm">Prev</a> <a href="tuple_to_list.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/tuple/reverse.hpp">boost/preprocessor/tuple/reverse.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/tuple/reverse.hpp">boost/preprocessor/tuple/reverse.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_TUPLE_REVERSE">#define BOOST_PP_TUPLE_REVERSE</a>(SIZE_OF_TUPLE,TUPLE)</h2>
|
<h3><a name="BOOST_PP_TUPLE_REVERSE">#define BOOST_PP_TUPLE_REVERSE</a>(SIZE_OF_TUPLE,TUPLE)</h3>
|
||||||
<p>Tuple reversal.</p>
|
<p>Tuple reversal.</p>
|
||||||
|
|
||||||
<p>For example,</p>
|
<p>For example,</p>
|
||||||
@ -46,9 +47,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="tuple_reverse.htm">Prev</a> <a href="while.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="tuple_reverse.htm">Prev</a> <a href="while.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/tuple/to_list.hpp">boost/preprocessor/tuple/to_list.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/tuple/to_list.hpp">boost/preprocessor/tuple/to_list.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_TUPLE_TO_LIST">#define BOOST_PP_TUPLE_TO_LIST</a>(SIZE_OF_TUPLE,TUPLE)</h2>
|
<h3><a name="BOOST_PP_TUPLE_TO_LIST">#define BOOST_PP_TUPLE_TO_LIST</a>(SIZE_OF_TUPLE,TUPLE)</h3>
|
||||||
<p>Converts a tuple to a list.</p>
|
<p>Converts a tuple to a list.</p>
|
||||||
|
|
||||||
<p>For example,</p>
|
<p>For example,</p>
|
||||||
@ -58,9 +59,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Reference</title>
|
<title>Boost.Preprocessor - Reference</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -22,11 +23,11 @@
|
|||||||
<a href="tuple_to_list.htm">Prev</a> <a href="arithmetic.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
<a href="tuple_to_list.htm">Prev</a> <a href="arithmetic.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h1>#include <<a href="../../../../boost/preprocessor/while.hpp">boost/preprocessor/while.hpp</a>></h1>
|
<h2>#include <<a href="../../../../boost/preprocessor/while.hpp">boost/preprocessor/while.hpp</a>></h2>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><a name="BOOST_PP_WHILE">#define BOOST_PP_WHILE</a>(PRED,OP,STATE)</h2>
|
<h3><a name="BOOST_PP_WHILE">#define BOOST_PP_WHILE</a>(PRED,OP,STATE)</h3>
|
||||||
<p>Iterates <code>OP(D,STATE)</code> while <code>PRED(D,STATE)</code> is true.</p>
|
<p>Iterates <code>OP(D,STATE)</code> while <code>PRED(D,STATE)</code> is true.</p>
|
||||||
|
|
||||||
<p>In other words, expands to:</p>
|
<p>In other words, expands to:</p>
|
||||||
@ -93,9 +94,9 @@
|
|||||||
|
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../boost.css">
|
||||||
<title>Boost.Preprocessor - Tutorial</title>
|
<title>Boost.Preprocessor - Tutorial</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#FFFFFF" link="#0000ff" vlink="#800080">
|
<body link="#0000ff" vlink="#800080">
|
||||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
||||||
"header">
|
"header">
|
||||||
<tr>
|
<tr>
|
||||||
@ -19,10 +20,10 @@
|
|||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2>Contents</h2>
|
<h2>Contents</h2>
|
||||||
<dl>
|
<dl class="page-index">
|
||||||
<dt><a href="#Motivation">Motivation</a></dt>
|
<dt><a href="#Motivation">Motivation</a></dt>
|
||||||
<dt><a href="#Techniques">Preprocessor Metaprogramming Techniques</a>
|
<dt><a href="#Techniques">Preprocessor Metaprogramming Techniques</a>
|
||||||
<dl>
|
<dl class="page-index">
|
||||||
<dt><a href="#Local Macro">Use a Local Macro to avoid small scale repetition</a></dt>
|
<dt><a href="#Local Macro">Use a Local Macro to avoid small scale repetition</a></dt>
|
||||||
<dt><a href="#UNUSED">Use BOOST_PP_EMPTY as an unused parameter in Local
|
<dt><a href="#UNUSED">Use BOOST_PP_EMPTY as an unused parameter in Local
|
||||||
Macro instantiations</a></dt>
|
Macro instantiations</a></dt>
|
||||||
@ -53,8 +54,7 @@
|
|||||||
must be overloaded for every distinct number of parameters that is to be supported.
|
must be overloaded for every distinct number of parameters that is to be supported.
|
||||||
Example:</p>
|
Example:</p>
|
||||||
|
|
||||||
<blockquote>
|
<pre>template <class R>
|
||||||
<pre>template <class R>
|
|
||||||
yes_type is_function_tester(R (*)());
|
yes_type is_function_tester(R (*)());
|
||||||
template <class R, class A0>
|
template <class R, class A0>
|
||||||
yes_type is_function_tester(R (*)(A0));
|
yes_type is_function_tester(R (*)(A0));
|
||||||
@ -65,7 +65,6 @@ yes_type is_function_tester(R (*)(A0, A1, A2));
|
|||||||
|
|
||||||
// ...
|
// ...
|
||||||
</pre>
|
</pre>
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<P>The need for this kind of repetition occurs particularly frequently while implementing
|
<P>The need for this kind of repetition occurs particularly frequently while implementing
|
||||||
generic components or metaprogramming facilities, but the need also manifests
|
generic components or metaprogramming facilities, but the need also manifests
|
||||||
@ -108,15 +107,14 @@ yes_type is_function_tester(R (*)(A0, A1, A2));
|
|||||||
<p>Using the primitives of the PREPROCESSOR library, the is_function_tester()s
|
<p>Using the primitives of the PREPROCESSOR library, the is_function_tester()s
|
||||||
could be implemented like this:</p>
|
could be implemented like this:</p>
|
||||||
|
|
||||||
<blockquote>
|
<pre>#define IS_FUNCTION_TESTER(N,_)\
|
||||||
<pre>#define IS_FUNCTION_TESTER(N,_)\
|
|
||||||
template<class R BOOST_PP_COMMA_IF(N) BOOST_PP_ENUM_PARAMS(N, class A)>\
|
template<class R BOOST_PP_COMMA_IF(N) BOOST_PP_ENUM_PARAMS(N, class A)>\
|
||||||
yes_type is_function_tester(R (*)(BOOST_PP_ENUM_PARAMS(N,A)));
|
yes_type is_function_tester(R (*)(BOOST_PP_ENUM_PARAMS(N,A)));
|
||||||
|
|
||||||
BOOST_PP_REPEAT_2ND(BOOST_PP_INC(MAX_IS_FUNCTION_TESTER_PARAMS),IS_FUNCTION_TESTER,_)
|
BOOST_PP_REPEAT_2ND(BOOST_PP_INC(MAX_IS_FUNCTION_TESTER_PARAMS),IS_FUNCTION_TESTER,_)
|
||||||
#undef IS_FUNCTION_TESTER
|
#undef IS_FUNCTION_TESTER
|
||||||
</pre>
|
</pre>
|
||||||
</blockquote>
|
|
||||||
<p>In order to change the maximum number of function parameters supported, you
|
<p>In order to change the maximum number of function parameters supported, you
|
||||||
now simply change the MAX_IS_FUNCTION_TESTER_PARAMS definition and recompile.</p>
|
now simply change the MAX_IS_FUNCTION_TESTER_PARAMS definition and recompile.</p>
|
||||||
<HR>
|
<HR>
|
||||||
@ -128,8 +126,7 @@ BOOST_PP_REPEAT_2ND(BOOST_PP_INC(MAX_IS_FUNCTION_TESTER_PARAMS),IS_FUNCTION_TEST
|
|||||||
<P><B><a name="Local Macro"></a><a href="examples_preprocessed.htm#Local Macro">EXAMPLE</a>:</B>
|
<P><B><a name="Local Macro"></a><a href="examples_preprocessed.htm#Local Macro">EXAMPLE</a>:</B>
|
||||||
Use a Local Macro to avoid small scale repetition</P>
|
Use a Local Macro to avoid small scale repetition</P>
|
||||||
|
|
||||||
<blockquote>
|
<pre>#define BOOST_PP_DEF(OP) \
|
||||||
<pre>#define BOOST_PP_DEF(OP) \
|
|
||||||
template<class T, int n> \
|
template<class T, int n> \
|
||||||
vec<T,n>& \
|
vec<T,n>& \
|
||||||
operator OP##= \
|
operator OP##= \
|
||||||
@ -149,7 +146,6 @@ BOOST_PP_DEF(*)
|
|||||||
BOOST_PP_DEF(/)
|
BOOST_PP_DEF(/)
|
||||||
#undef BOOST_PP_DEF
|
#undef BOOST_PP_DEF
|
||||||
</pre>
|
</pre>
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<P><B>TIP:</B> It is usually okay to use a standard macro name like BOOST_PP_DEF
|
<P><B>TIP:</B> It is usually okay to use a standard macro name like BOOST_PP_DEF
|
||||||
for this kind of code, because the macro is both defined and undefined in the
|
for this kind of code, because the macro is both defined and undefined in the
|
||||||
@ -167,8 +163,7 @@ the line continuation operator when they are aligned.</P>
|
|||||||
<P><B><a name="UNUSED"></a><a href="examples_preprocessed.htm#UNUSED">EXAMPLE</a>:</B>
|
<P><B><a name="UNUSED"></a><a href="examples_preprocessed.htm#UNUSED">EXAMPLE</a>:</B>
|
||||||
Use BOOST_PP_EMPTY as an unused parameter in Local Macro instantiations</P>
|
Use BOOST_PP_EMPTY as an unused parameter in Local Macro instantiations</P>
|
||||||
|
|
||||||
<blockquote>
|
<pre>#define BOOST_PP_DEF(CV) \
|
||||||
<pre>#define BOOST_PP_DEF(CV) \
|
|
||||||
template<class base> \
|
template<class base> \
|
||||||
CV() typename implement_subscript_using_begin_subscript<base>::value_type&\
|
CV() typename implement_subscript_using_begin_subscript<base>::value_type&\
|
||||||
implement_subscript_using_begin_subscript<base>::operator[]\
|
implement_subscript_using_begin_subscript<base>::operator[]\
|
||||||
@ -182,7 +177,6 @@ BOOST_PP_DEF(BOOST_PP_EMPTY)
|
|||||||
BOOST_PP_DEF(const BOOST_PP_EMPTY)
|
BOOST_PP_DEF(const BOOST_PP_EMPTY)
|
||||||
#undef BOOST_PP_DEF
|
#undef BOOST_PP_DEF
|
||||||
</pre>
|
</pre>
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<P><B>HOW:</B> BOOST_PP_EMPTY() expands to nothing and can be used as
|
<P><B>HOW:</B> BOOST_PP_EMPTY() expands to nothing and can be used as
|
||||||
an unused parameter.</P>
|
an unused parameter.</P>
|
||||||
@ -206,8 +200,7 @@ of the line continuation operators without making the code too unreadable.</P>
|
|||||||
<HR>
|
<HR>
|
||||||
<P><a name="CAT"></a><a href="examples_preprocessed.htm#CAT"><B>EXAMPLE:</B></a> Use BOOST_PP_CAT instead of ## when necessary</P>
|
<P><a name="CAT"></a><a href="examples_preprocessed.htm#CAT"><B>EXAMPLE:</B></a> Use BOOST_PP_CAT instead of ## when necessary</P>
|
||||||
|
|
||||||
<blockquote>
|
<pre>#define STATIC_ASSERT(EXPR)\
|
||||||
<pre>#define STATIC_ASSERT(EXPR)\
|
|
||||||
enum\
|
enum\
|
||||||
{ BOOST_PP_CAT(static_check_,__LINE__) = (EXPR) ? 1 : -1\
|
{ BOOST_PP_CAT(static_check_,__LINE__) = (EXPR) ? 1 : -1\
|
||||||
};\
|
};\
|
||||||
@ -220,22 +213,21 @@ of the line continuation operators without making the code too unreadable.</P>
|
|||||||
|
|
||||||
STATIC_ASSERT(sizeof(int) <= sizeof(long));
|
STATIC_ASSERT(sizeof(int) <= sizeof(long));
|
||||||
</pre>
|
</pre>
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<P><B>WHY:</B> Macro expansion proceeds recursively in "layers". Token pasting
|
<P><B>WHY:</B> Macro expansion proceeds recursively in "layers". Token pasting
|
||||||
prevents the preprocessor from performing macro expansion, therefore it
|
prevents the preprocessor from performing macro expansion, therefore it
|
||||||
is often necessary to delay token concatenation.</P>
|
is often necessary to delay token concatenation.</P>
|
||||||
<hr>
|
<hr>
|
||||||
<p><a name="STRINGIZE"></a><a href="examples_preprocessed.htm#STRINGIZE"><B>EXAMPLE:</B></a> Use BOOST_PP_STRINGIZE instead of # whenever necessary</p>
|
<p><a name="STRINGIZE"></a><a href="examples_preprocessed.htm#STRINGIZE"><B>EXAMPLE:</B></a> Use BOOST_PP_STRINGIZE instead of # whenever necessary</p>
|
||||||
<blockquote>
|
|
||||||
<pre>#define NOTE(STR)\
|
<pre>#define NOTE(STR)\
|
||||||
message(__FILE__ "(" BOOST_PP_STRINGIZE(__LINE__) ") : " STR)
|
message(__FILE__ "(" BOOST_PP_STRINGIZE(__LINE__) ") : " STR)
|
||||||
|
|
||||||
// ...
|
// ...
|
||||||
|
|
||||||
#pragma NOTE("TBD!")
|
#pragma NOTE("TBD!")
|
||||||
</pre>
|
</pre>
|
||||||
</blockquote>
|
|
||||||
<p><b>WHY:</b> Macro expansion proceeds recursively in "layers". Stringization
|
<p><b>WHY:</b> Macro expansion proceeds recursively in "layers". Stringization
|
||||||
prevents the preprocessor from performing macro expansion, therefore it is often
|
prevents the preprocessor from performing macro expansion, therefore it is often
|
||||||
necessary to delay stringization.</p>
|
necessary to delay stringization.</p>
|
||||||
@ -251,8 +243,8 @@ STATIC_ASSERT(sizeof(int) <= sizeof(long));
|
|||||||
<li> BOOST_PP_COMMA_IF</li>
|
<li> BOOST_PP_COMMA_IF</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>to avoid O(N) repetition on lists in general</p>
|
<p>to avoid O(N) repetition on lists in general</p>
|
||||||
<blockquote>
|
|
||||||
<pre>struct make_type_list_end;
|
<pre>struct make_type_list_end;
|
||||||
|
|
||||||
template
|
template
|
||||||
< BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT
|
< BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT
|
||||||
@ -290,12 +282,10 @@ public:
|
|||||||
>::type type;
|
>::type type;
|
||||||
};
|
};
|
||||||
</pre>
|
</pre>
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<P><B>HOW:</B> BOOST_PP_REPEAT uses simulated recursion (pseudo code):</P>
|
<P><B>HOW:</B> BOOST_PP_REPEAT uses simulated recursion (pseudo code):</P>
|
||||||
|
|
||||||
<blockquote>
|
<pre>#define BOOST_PP_REPEAT(N,M,P) BOOST_PP_REPEAT##N(M,P)
|
||||||
<pre>#define BOOST_PP_REPEAT(N,M,P) BOOST_PP_REPEAT##N(M,P)
|
|
||||||
#define BOOST_PP_REPEAT0(M,P)
|
#define BOOST_PP_REPEAT0(M,P)
|
||||||
#define BOOST_PP_REPEAT1(M,P) M(0,P)
|
#define BOOST_PP_REPEAT1(M,P) M(0,P)
|
||||||
#define BOOST_PP_REPEAT2(M,P) M(0,P) M(1,P)
|
#define BOOST_PP_REPEAT2(M,P) M(0,P) M(1,P)
|
||||||
@ -303,7 +293,6 @@ public:
|
|||||||
#define BOOST_PP_REPEAT4(M,P) BOOST_PP_REPEAT3(M,P) M(3,P)
|
#define BOOST_PP_REPEAT4(M,P) BOOST_PP_REPEAT3(M,P) M(3,P)
|
||||||
// ...
|
// ...
|
||||||
</pre>
|
</pre>
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<P>BOOST_PP_ENUM_PARAMS variations use BOOST_PP_REPEAT</P>
|
<P>BOOST_PP_ENUM_PARAMS variations use BOOST_PP_REPEAT</P>
|
||||||
|
|
||||||
@ -318,12 +307,10 @@ public:
|
|||||||
enable user configuration of code repetition based on need rather than some
|
enable user configuration of code repetition based on need rather than some
|
||||||
"reasonable" upper limit</P>
|
"reasonable" upper limit</P>
|
||||||
|
|
||||||
<blockquote>
|
<pre>#ifndef MAKE_TYPE_LIST_MAX_LENGTH
|
||||||
<pre>#ifndef MAKE_TYPE_LIST_MAX_LENGTH
|
|
||||||
#define MAKE_TYPE_LIST_MAX_LENGTH 8
|
#define MAKE_TYPE_LIST_MAX_LENGTH 8
|
||||||
#endif
|
#endif
|
||||||
</pre>
|
</pre>
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<P>Now the user can configure the make_type_list primitive without modifying library
|
<P>Now the user can configure the make_type_list primitive without modifying library
|
||||||
code.</P>
|
code.</P>
|
||||||
@ -332,8 +319,7 @@ enable user configuration of code repetition based on need rather than some
|
|||||||
Use BOOST_PP_REPEAT and a Token Look-Up Function to eliminate categorical
|
Use BOOST_PP_REPEAT and a Token Look-Up Function to eliminate categorical
|
||||||
repetition</P>
|
repetition</P>
|
||||||
|
|
||||||
<blockquote>
|
<pre>// CAVEAT: My compiler is not standard on arithmetic types.
|
||||||
<pre>// CAVEAT: My compiler is not standard on arithmetic types.
|
|
||||||
#define ARITHMETIC_TYPE(I) ARITHMETIC_TYPE##I
|
#define ARITHMETIC_TYPE(I) ARITHMETIC_TYPE##I
|
||||||
#define ARITHMETIC_TYPE0 bool
|
#define ARITHMETIC_TYPE0 bool
|
||||||
#define ARITHMETIC_TYPE1 char
|
#define ARITHMETIC_TYPE1 char
|
||||||
@ -366,7 +352,6 @@ BOOST_PP_REPEAT
|
|||||||
|
|
||||||
// ...
|
// ...
|
||||||
</pre>
|
</pre>
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<P><B>NOTE:</B> The repetition of the above
|
<P><B>NOTE:</B> The repetition of the above
|
||||||
example can be eliminated using template metaprogramming <A href="bibliography.htm#[Czarnecki]">[Czarnecki]</A> as well. However
|
example can be eliminated using template metaprogramming <A href="bibliography.htm#[Czarnecki]">[Czarnecki]</A> as well. However
|
||||||
@ -376,8 +361,7 @@ using template metaprogramming.</P>
|
|||||||
<P><B><a name="2ND_REPEAT"></a><a href="examples_preprocessed.htm#2ND_REPEAT">EXAMPLE</a>:</B>
|
<P><B><a name="2ND_REPEAT"></a><a href="examples_preprocessed.htm#2ND_REPEAT">EXAMPLE</a>:</B>
|
||||||
Use BOOST_PP_REPEAT_2ND to avoid O(N*N) repetition</P>
|
Use BOOST_PP_REPEAT_2ND to avoid O(N*N) repetition</P>
|
||||||
|
|
||||||
<blockquote>
|
<pre>#ifndef MAX_VEC_ARG_CNT
|
||||||
<pre>#ifndef MAX_VEC_ARG_CNT
|
|
||||||
#define MAX_VEC_ARG_CNT 8
|
#define MAX_VEC_ARG_CNT 8
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -403,8 +387,6 @@ BOOST_PP_REPEAT_2ND
|
|||||||
|
|
||||||
// ...
|
// ...
|
||||||
</pre>
|
</pre>
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
|
|
||||||
<P><B>HOW:</B> BOOST_PP_REPEAT_2ND is implemented separately, so it
|
<P><B>HOW:</B> BOOST_PP_REPEAT_2ND is implemented separately, so it
|
||||||
is possible to combine BOOST_PP_REPEAT and BOOST_PP_REPEAT_2ND.</P>
|
is possible to combine BOOST_PP_REPEAT and BOOST_PP_REPEAT_2ND.</P>
|
||||||
@ -412,14 +394,12 @@ BOOST_PP_REPEAT_2ND
|
|||||||
|
|
||||||
<P><a name="IF"></a><a href="examples_preprocessed.htm#IF"><B>EXAMPLE:</B></a> Use BOOST_PP_IF to implement special case for the first element</P>
|
<P><a name="IF"></a><a href="examples_preprocessed.htm#IF"><B>EXAMPLE:</B></a> Use BOOST_PP_IF to implement special case for the first element</P>
|
||||||
|
|
||||||
<blockquote>
|
<pre>#define BOOST_PP_COMMA_IF(C)\
|
||||||
<pre>#define BOOST_PP_COMMA_IF(C)\
|
|
||||||
BOOST_PP_IF(C,BOOST_PP_COMMA,BOOST_PP_EMPTY)()
|
BOOST_PP_IF(C,BOOST_PP_COMMA,BOOST_PP_EMPTY)()
|
||||||
|
|
||||||
BOOST_PP_IF(0,true,false) == false;
|
BOOST_PP_IF(0,true,false) == false;
|
||||||
BOOST_PP_IF(1,true,false) == true;
|
BOOST_PP_IF(1,true,false) == true;
|
||||||
</pre>
|
</pre>
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<P>BOOST_PP_IF enables convenient generation of lists using BOOST_PP_REPEAT.</P>
|
<P>BOOST_PP_IF enables convenient generation of lists using BOOST_PP_REPEAT.</P>
|
||||||
|
|
||||||
@ -428,28 +408,27 @@ BOOST_PP_IF(1,true,false) == true;
|
|||||||
you have to make the other parameter a function-like macro, too. This can often
|
you have to make the other parameter a function-like macro, too. This can often
|
||||||
be done using BOOST_PP_IDENTITY. Consider the following example (by
|
be done using BOOST_PP_IDENTITY. Consider the following example (by
|
||||||
Aleksey Gurtovoy):</P>
|
Aleksey Gurtovoy):</P>
|
||||||
<blockquote>
|
|
||||||
<pre>#define NUMBERED_EXPRESSION(I,X)\
|
<pre>#define NUMBERED_EXPRESSION(I,X)\
|
||||||
BOOST_PP_IF \
|
BOOST_PP_IF \
|
||||||
( I \
|
( I \
|
||||||
, BOOST_PP_IDENTITY(X##I) \
|
, BOOST_PP_IDENTITY(X##I) \
|
||||||
, BOOST_PP_EMPTY \
|
, BOOST_PP_EMPTY \
|
||||||
)()</pre>
|
)()</pre>
|
||||||
</blockquote>
|
|
||||||
<P><b>NOTE:</b> Like in the above implementation of COMMA_IF, the result of IF
|
<P><b>NOTE:</b> Like in the above implementation of COMMA_IF, the result of IF
|
||||||
is often invoked and not the THEN and ELSE parameters. If the parameters were
|
is often invoked and not the THEN and ELSE parameters. If the parameters were
|
||||||
invoked, the code would not expand correctly, because the EMPTY parameter would
|
invoked, the code would not expand correctly, because the EMPTY parameter would
|
||||||
get expanded to nothing before the IF would be properly expanded.</P>
|
get expanded to nothing before the IF would be properly expanded.</P>
|
||||||
<P><b>HOW:</b> BOOST_PP_IF is defined for the entire repeat range (pseudo
|
<P><b>HOW:</b> BOOST_PP_IF is defined for the entire repeat range (pseudo
|
||||||
code):</P>
|
code):</P>
|
||||||
<blockquote>
|
|
||||||
<pre>#define BOOST_PP_IF(C,THEN,ELSE) BOOST_PP_IF##C(THEN,ELSE)
|
<pre>#define BOOST_PP_IF(C,THEN,ELSE) BOOST_PP_IF##C(THEN,ELSE)
|
||||||
#define BOOST_PP_IF0(THEN,ELSE) ELSE
|
#define BOOST_PP_IF0(THEN,ELSE) ELSE
|
||||||
#define BOOST_PP_IF1(THEN,ELSE) THEN
|
#define BOOST_PP_IF1(THEN,ELSE) THEN
|
||||||
#define BOOST_PP_IF2(THEN,ELSE) THEN
|
#define BOOST_PP_IF2(THEN,ELSE) THEN
|
||||||
// ...
|
// ...
|
||||||
</pre>
|
</pre>
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -461,8 +440,7 @@ comparison operations on decimal integer literals in the range [0,BOOST_PP_LIMIT
|
|||||||
<p>Suppose that you want to generate a numbered lists with a special element inserted
|
<p>Suppose that you want to generate a numbered lists with a special element inserted
|
||||||
at a desired position. For example: E0, E1, S, E2. Consider the following example:</p>
|
at a desired position. For example: E0, E1, S, E2. Consider the following example:</p>
|
||||||
|
|
||||||
<blockquote>
|
<pre>#define SPECIAL_NUMBERED_LIST(N,I,ELEM,SPECIAL)\
|
||||||
<pre>#define SPECIAL_NUMBERED_LIST(N,I,ELEM,SPECIAL)\
|
|
||||||
BOOST_PP_ASSERT_MSG(BOOST_PP_LESS(I,N),BAD PARAMS FOR SPECIAL_NUMBERED_LIST!)\
|
BOOST_PP_ASSERT_MSG(BOOST_PP_LESS(I,N),BAD PARAMS FOR SPECIAL_NUMBERED_LIST!)\
|
||||||
BOOST_PP_ENUM_PARAMS(I,ELEM)\
|
BOOST_PP_ENUM_PARAMS(I,ELEM)\
|
||||||
BOOST_PP_COMMA_IF(I) SPECIAL\
|
BOOST_PP_COMMA_IF(I) SPECIAL\
|
||||||
@ -483,7 +461,6 @@ SPECIAL_NUMBERED_LIST(3,1,E,S)
|
|||||||
SPECIAL_NUMBERED_LIST(3,2,E,S)
|
SPECIAL_NUMBERED_LIST(3,2,E,S)
|
||||||
SPECIAL_NUMBERED_LIST(3,3,E,S)
|
SPECIAL_NUMBERED_LIST(3,3,E,S)
|
||||||
</pre>
|
</pre>
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
<p>Revised
|
<p>Revised
|
||||||
@ -492,9 +469,9 @@ SPECIAL_NUMBERED_LIST(3,3,E,S)
|
|||||||
</p>
|
</p>
|
||||||
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
<p><i>© Copyright <a href="http://www.housemarque.com">Housemarque Oy</a> 2002</i></p>
|
||||||
|
|
||||||
<p><i>Permission to copy, use, modify, sell and distribute this document is granted
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
provided this copyright notice appears in all copies. This document is provided
|
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
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
for any purpose.</i></p>
|
for any purpose.</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Reference in New Issue
Block a user