MCPcopy Create free account
hub / github.com/Naios/function2 / issue_14_create

Function issue_14_create

test/regressions.cpp:128–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128static fu2::unique_function<void()> issue_14_create() {
129 // remove the commented dummy capture to be compilable
130 fu2::unique_function<void()> func =
131 [i = std::vector<std::vector<std::unique_ptr<int>>>{}
132 // ,dummy = std::unique_ptr<int>()
133 ]() {
134 // ...
135 };
136
137 return std::move(func);
138}
139
140// https://github.com/Naios/function2/issues/14
141TEST(regression_tests, issue_14) {

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected