forked from boostorg/config
Merge config changes from Trunk.
[SVN r76122]
This commit is contained in:
@@ -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