forked from boostorg/config
Merge config changes from Trunk.
[SVN r76122]
This commit is contained in:
1 parent
7bd78dda03
commit
3b7ff73e9d
27 files changed
+471
-154
No files matched your search
@@ -12,6 +12,8 @@
|
||||
|
||||
namespace boost_no_constexpr {
|
||||
|
||||
void quiet_warning(int){}
|
||||
|
||||
constexpr int square(int x) { return x * x; } // from N2235
|
||||
|
||||
// from 5.19:
|
||||
@@ -37,6 +39,7 @@ X<a> xx; // OK: unique conversion to int
|
||||
int test()
|
||||
{
|
||||
int i = square(5);
|
||||
quiet_warning(i);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user