MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / operator&&

Function operator&&

tests/Issue288.cpp:18–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16
17template<class Expr1,class Expr2>
18auto operator&&(Expr1&& ex1,Expr2&& ex2)
19{
20 return [ex1=std::move(ex1),ex2=std::move(ex2)](auto val)
21 {
22
23 return (ex1(std::forward<decltype(val)>(val)) && ex2(std::forward<decltype(val)>(val)));
24 };
25}
26
27 auto Gt_10 = [](int val)
28 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected