[PATCH] D61790: [C++20] add consteval specifier
Eli Friedman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 14 09:14:25 PDT 2019
efriedma added a comment.
"complex" in this context is the C99 `_Complex`, which is supported in C++ as an extension, using the same syntax as C. You can just declare a variable with type `_Complex float`. If you need to manipulate the real and imaginary parts of a variable, you can use the gcc extension `__real__`/`__imag__`, although I don't think you need to.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61790/new/
https://reviews.llvm.org/D61790
More information about the cfe-commits
mailing list