We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 053e565 commit a9daa4cCopy full SHA for a9daa4c
flang/include/flang/Evaluate/tools.h
@@ -125,6 +125,7 @@ template <typename A> bool IsCoarray(const A &x) { return GetCorank(x) > 0; }
125
126
// Generalizing packagers: these take operations and expressions of more
127
// specific types and wrap them in Expr<> containers of more abstract types.
128
+
129
template <typename A> common::IfNoLvalue<Expr<ResultType<A>>, A> AsExpr(A &&x) {
130
return Expr<ResultType<A>>{std::move(x)};
131
}
0 commit comments