Searched refs:accept_callback (Results 1 – 2 of 2) sorted by relevance
1185 template <typename T> void accept_callback(T t) { in accept_callback() function1201 accept_callback([&]() { x = false; }); in capture_and_mutate_by_lambda()1211 accept_callback([x]() { if (x) {} }); in lambda_capture_by_value()1222 accept_callback([&]() { if (x) {} }); in capture_by_lambda_but_not_mutate()1254 accept_callback(^{ if (x) {} }); in capture_by_block_but_not_mutate()1267 accept_callback([=]() { in capture_with_branches_inside_lambda_bad()1280 accept_callback([&]() { in capture_with_branches_inside_lambda_good()1292 accept_callback(^{ in capture_with_branches_inside_block_bad()1306 accept_callback(^{ in capture_with_branches_inside_block_bad_simpler()1318 accept_callback(^{ in capture_with_branches_inside_block_good()
382 template <typename T> void accept_callback(T t) { in accept_callback() function398 accept_callback([&]() { in lambda_capture_from_outside()408 accept_callback([finished]() { in lambda_capture_from_outside_by_value()419 accept_callback([&finished]() { in lambda_capture_from_outside_but_unchanged()