[DEV] add v1.76.0

This commit is contained in:
2021-10-05 21:37:46 +02:00
parent a97e9ae7d4
commit d0115b733d
45133 changed files with 4744437 additions and 1026325 deletions

View File

@@ -1,11 +1,11 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Visual C++ define</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../index.html" title="Chapter&#160;1.&#160;The Variadic Macro Data Library 1.9">
<link rel="up" href="../index.html" title="Chapter&#160;1.&#160;The Variadic Macro Data Library 1.9">
<link rel="home" href="../index.html" title="Chapter 1. The Variadic Macro Data Library 1.10">
<link rel="up" href="../index.html" title="Chapter 1. The Variadic Macro Data Library 1.10">
<link rel="prev" href="vmd_vmacros.html" title="Using variadic macros">
<link rel="next" href="vmd_detail.html" title="Functional groups">
</head>
@@ -29,25 +29,26 @@
<p>
Microsoft's Visual C++ compiler, abbreviated VC++, is a very popular compiler
but does not implement the standard C++ preprocessor correctly in a number
of respects. Because of this the programmer using the VMD needs to occasionally
do things differently when VC++ is being used. These "quirks" of
VC++ have been smoothed over as much as possible in the VMD library, but are
mentioned in further topics and occasionally must be addressed by the programmer
using VMD.
of respects in its default preprocessor. Because of this the programmer using
the VMD needs to occasionally do things differently when VC++ is being used.
These "quirks" of VC++ have been smoothed over as much as possible
in the VMD library, but are mentioned in further topics and occasionally must
be addressed by the programmer using VMD.
</p>
<p>
The VMD has a macro that indicates when VC++ is the compiler being used. The
macro is an object-like macro called BOOST_VMD_MSVC. It is set to 1 when VC++
is being used and set to 0 when VC++ is not being used. You can use this macro
in your own macro code whenever you include a VMD header file to write code
which may need special processing for VC++ as outlined in this documentation.
Your macro processing may therefore occasional take the form of:
The VMD has a macro that indicates when the VC++ default preprocessor is being
used. The macro is an object-like macro called BOOST_VMD_MSVC. It is set to
1 when VC++'s default preprocessor is being used and set to 0 when VC++'s default
preprocessore is not being used. You can use this macro in your own macro code
whenever you include a VMD header file to write code which may need special
processing for VC++ as outlined in this documentation. Your macro processing
may therefore occasional take the form of:
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">vmd</span><span class="special">/</span><span class="identifier">some_header</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#if</span> <span class="identifier">BOOST_VMD_MSVC</span>
<span class="preprocessor">#define</span> <span class="identifier">SOME_MACRO</span> <span class="special">...</span> <span class="identifier">code</span> <span class="keyword">for</span> <span class="identifier">VC</span><span class="special">++</span>
<span class="preprocessor">#define</span> <span class="identifier">SOME_MACRO</span> <span class="special">...</span> <span class="identifier">code</span> <span class="keyword">for</span> <span class="identifier">VC</span><span class="special">++</span> <span class="keyword">using</span> <span class="identifier">its</span> <span class="keyword">default</span> <span class="identifier">preprocessor</span>
<span class="preprocessor">#else</span>
@@ -55,10 +56,16 @@
<span class="preprocessor">#endif</span>
</pre>
<p>
The BOOST_VMD_MSVC macro only applies when the VC++ default preprocessor is
being used. It does not apply when VC++'s new standard conforming preprocessor,
currently activated by the <code class="computeroutput"><span class="special">/</span><span class="identifier">Zc</span><span class="special">:</span><span class="identifier">preprocessor</span></code>
command line option, is being used.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2010-2017 Tropic Software
<td align="right"><div class="copyright-footer">Copyright © 2010-2017 Tropic Software
East Inc</div></td>
</tr></table>
<hr>