forked from boostorg/config
Improve lambda test case some more.
This commit is contained in:
@@ -17,14 +17,14 @@
|
|||||||
namespace boost_no_cxx11_lambdas {
|
namespace boost_no_cxx11_lambdas {
|
||||||
|
|
||||||
template <class Func>
|
template <class Func>
|
||||||
void f(Func)
|
int f(Func f)
|
||||||
{
|
{
|
||||||
|
return f();
|
||||||
}
|
}
|
||||||
|
|
||||||
int test()
|
int test()
|
||||||
{
|
{
|
||||||
f([](){});
|
return f([](){ return 0; });
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user