MCPcopy Create free account
hub / github.com/AdaptiveCpp/AdaptiveCpp / BOOST_AUTO_TEST_CASE

Function BOOST_AUTO_TEST_CASE

tests/pstl/pointer_validation.cpp:45–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43
44
45BOOST_AUTO_TEST_CASE(unused_capture_by_ref) {
46 test_call([&](int x){return x+1;});
47}
48
49BOOST_AUTO_TEST_CASE(used_capture_by_ref) {
50 int c = 4;

Callers

nothing calls this directly

Calls 1

test_callFunction · 0.85

Tested by

no test coverage detected