Add BOOST_MSVC_ENABLE_2012_NOV_CTP macro to allow users to explicitly enable use of VC++ November 2012 Community Technology Preview. C++11 features supplied by this CTP are not enabled by default since they represent unsupported alpha-level code that should not be used for production work.

[SVN r82514]
This commit is contained in:
Beman Dawes
2013-01-17 02:18:31 +00:00
parent 50a562867e
commit 55fa3a8e88
4 changed files with 43 additions and 12 deletions

View File

@@ -3105,6 +3105,25 @@
</blockquote></div>
</td>
</tr>
<tr>
<td>
<p>
<code class="computeroutput"><span class="identifier">BOOST_MSVC_ENABLE_2012_NOV_CTP</span></code>
</p>
</td>
<td>
<p>
For Microsoft Visual C++ 2012, enable the C++11 features supplied
by the November 2012 Community Technology Preview. These features
are not automatically enabled because the CTP is non-supported
alpha code that is not recommended for production use. This macro
must be defined before including any Boost headers, and must be
defined for all translation units in the program, including Boost
library builds. This macro will no longer have any effect once
an official Microsoft release supports the CTP features.
</p>
</td>
</tr>
</tbody>
</table></div>
</div>

View File

@@ -951,7 +951,7 @@
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"><p><small>Last revised: January 03, 2013 at 13:01:40 GMT</small></p></td>
<td align="left"><p><small>Last revised: January 17, 2013 at 02:10:17 GMT</small></p></td>
<td align="right"><div class="copyright-footer"></div></td>
</tr></table>
<hr>

View File

@@ -724,6 +724,15 @@ If `BOOST_NO_CXX11_NOEXCEPT` is not defined (i.e. C++11 compliant compilers) the
``
]
]]
[[`BOOST_MSVC_ENABLE_2012_NOV_CTP`][
For Microsoft Visual C++ 2012, enable the C++11 features supplied by the
November 2012 Community Technology Preview. These features are not automatically
enabled because the CTP is non-supported alpha code that is not recommended
for production use. This macro must be defined before including any Boost headers,
and must be defined for all translation units in the program, including Boost library builds.
This macro will no longer have any effect once an official Microsoft
release supports the CTP features.
]]
]
[endsect]