class Foo
{
public:
	const int n_;
	Foo();
};

Foo::Foo()
:	n_( []() -> int { return 42; } )
{
}

int main()
{
	Foo f;
}