7 lines
89 B
C++
7 lines
89 B
C++
|
|
||
|
int someFunc()
|
||
|
{
|
||
|
int a = 0;
|
||
|
return [b = static_cast<int&&>(a)]() { return b; }();
|
||
|
}
|