MCPcopy Create free account
hub / github.com/ceph/ceph / capture

Function capture

src/test/common/test_async_spawn_throttle.cc:37–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37auto capture(std::optional<std::exception_ptr>& eptr)
38{
39 return [&eptr] (std::exception_ptr e) { eptr = e; };
40}
41
42auto capture(asio::cancellation_signal& signal,
43 std::optional<std::exception_ptr>& eptr)

Callers 1

TESTFunction · 0.70

Calls 1

slotMethod · 0.45

Tested by

no test coverage detected