We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d35128e commit 26f1dc4Copy full SHA for 26f1dc4
test/mp_lambda.cpp
@@ -7,6 +7,26 @@
7
// http://www.boost.org/LICENSE_1_0.txt
8
9
10
+#if 1
11
+#include <boost/mp11/detail/config.hpp>
12
+
13
+#if BOOST_MP11_MSVC
14
+#define CONCAT_(A, B) A ## B
15
+#define CONCAT(A, B) CONCAT_(A, B)
16
+#define MSVC_VERSION CONCAT(msvc_version_, BOOST_MP11_MSVC)
17
18
+#pragma deprecated(MSVC_VERSION)
19
+#pragma warning(default: 4995)
20
21
+static int MSVC_VERSION = 0;
22
+#endif
23
24
+int main()
25
+{
26
+ using type = int() const;
27
+}
28
29
+#else
30
#include <boost/mp11/lambda.hpp>
31
#include <boost/mp11/detail/config.hpp>
32
#include <boost/core/lightweight_test_trait.hpp>
@@ -142,3 +162,4 @@ int main()
142
162
143
163
return boost::report_errors();
144
164
}
165
0 commit comments