2
0
mirror of https://github.com/boostorg/foreach.git synced 2026-02-09 11:02:57 +00:00

latest BOOST_FOREACH

[SVN r46538]
This commit is contained in:
Eric Niebler
2008-06-20 02:14:03 +00:00
parent cf32c10123
commit b92b58ae33
16 changed files with 835 additions and 19 deletions

3
test/rvalue_const.cpp Executable file → Normal file
View File

@@ -13,7 +13,10 @@
#include <boost/foreach.hpp>
#ifdef BOOST_FOREACH_NO_CONST_RVALUE_DETECTION
// ignore error during Microsoft Code Analysis
#if !defined(_PREFAST_)
# error Expected failure : const rvalues disallowed
#endif
#else
std::vector<int> const get_vector()