2
0
mirror of https://github.com/boostorg/lambda.git synced 2026-01-23 05:32:16 +00:00

Supress warnings on gcc and msvc. Fixes #1515

[SVN r51448]
This commit is contained in:
Steven Watanabe
2009-02-26 02:33:15 +00:00
parent 0faeb3f19e
commit 0c4e251ebe
12 changed files with 142 additions and 21 deletions

View File

@@ -17,6 +17,8 @@
#include "boost/lambda/lambda.hpp"
#include "boost/lambda/detail/suppress_unused.hpp"
#include <vector>
#include <map>
#include <set>
@@ -96,6 +98,8 @@ void arithmetic_operators() {
// test that unary plus really does something
unary_plus_tester u;
unary_plus_tester up = (+_1)(u);
boost::lambda::detail::suppress_unused_variable_warnings(up);
}
void bitwise_operators() {