Skip to content

Commit

Permalink
gcc/doc/extend.texi: Add documentation for __is_object
Browse files Browse the repository at this point in the history
gcc/ChangeLog:

	* doc/extend.texi (__is_object): New documentation.

Signed-off-by: Ken Matsui <kmatsui@gcc.gnu.org>
  • Loading branch information
ken-matsui authored and ouuleilei-bot committed Mar 2, 2024
1 parent 15a3b4a commit f1858b8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gcc/doc/extend.texi
Original file line number Diff line number Diff line change
Expand Up @@ -25430,6 +25430,11 @@ If @var{type} is a pointer to member ([dcl.mptr]) the trait is
@code{true}, else it is @code{false}.
@enddefbuiltin

@defbuiltin{bool __is_object (@var{type})}
If @var{type} is an object type ([basic.types]) the trait is
@code{true}, else it is @code{false}.
@enddefbuiltin

@defbuiltin{bool __is_pod (@var{type})}
If @var{type} is a cv POD type ([basic.types]) then the trait is @code{true},
else it is @code{false}.
Expand Down

0 comments on commit f1858b8

Please sign in to comment.