Bug 48748 - Undocumented type traits used in libstdc++-4.6
Summary: Undocumented type traits used in libstdc++-4.6
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: other (show other bugs)
Version: 4.6.0
: P3 minor
Target Milestone: 4.6.1
Assignee: Paolo Carlini
URL:
Keywords: documentation
Depends on:
Blocks:
 
Reported: 2011-04-24 07:31 UTC by Jeffrey Yasskin
Modified: 2011-04-24 09:43 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2011-04-24 09:20:55


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey Yasskin 2011-04-24 07:31:21 UTC
At least __is_standard_layout(), __is_literal_type(), and __is_trivial() are used in the libstdc++-4.6 implementation, but they're not documented on http://gcc.gnu.org/onlinedocs/gcc-4.6.0/gcc/Type-Traits.html. They should be added to the documentation.
Comment 1 Paolo Carlini 2011-04-24 09:20:55 UTC
On it.
Comment 2 paolo@gcc.gnu.org 2011-04-24 09:42:19 UTC
Author: paolo
Date: Sun Apr 24 09:42:16 2011
New Revision: 172911

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172911
Log:
2011-04-24  Paolo Carlini  <paolo.carlini@oracle.com>

	PR other/48748
	* doc/extend.texi (Type Traits): Document __is_standard_layout,
	__is_literal_type, and __is_trivial; update throughout about
	possibly cv-qualified void types.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/doc/extend.texi
Comment 3 paolo@gcc.gnu.org 2011-04-24 09:43:32 UTC
Author: paolo
Date: Sun Apr 24 09:43:29 2011
New Revision: 172912

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172912
Log:
2011-04-24  Paolo Carlini  <paolo.carlini@oracle.com>

	PR other/48748
	* doc/extend.texi (Type Traits): Document __is_standard_layout,
	__is_literal_type, and __is_trivial; update throughout about
	possibly cv-qualified void types.

Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/doc/extend.texi
Comment 4 Paolo Carlini 2011-04-24 09:43:59 UTC
Done.