匿名函数所见记录
带有两个匿名参数的函数 auto genP = [](float c = 1, float offset = 0) { return c * ((float)(rand() % 1800)) / 100 - c * 9; };
C++ 匿名函数
原文:https://www.cnblogs.com/eat-too-much/p/13651194.html