[Bug c++/89244] __builtin_is_constant_evaluated not documented
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 8 07:47:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89244
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Why should it? We don't want people to use it directly, they should use
std::is_constant_evaluated () which is documented.
We don't document most the C++ magic builtins either (__is_*, __has_*,
__builtin_launder), people shouldn't use those directly, they are private APIs
between libstdc++ and the compiler.
More information about the Gcc-bugs
mailing list