reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
37 auto fn = [&data](int x) { data[x] = x * x; }; 37 auto fn = [&data](int x) { data[x] = x * x; }; 41 ASSERT_EQ(data[0], 0); 42 ASSERT_EQ(data[1], 1); 43 ASSERT_EQ(data[2], 4); 44 ASSERT_EQ(data[3], 9);