[PATCH, libstdc++] libstdc++ pb_assoc testcase fix
Jonathan Wakely
cow@compsoc.man.ac.uk
Wed Jul 6 21:54:00 GMT 2005
On Wed, Jul 06, 2005 at 04:54:55PM -0400, David Edelsohn wrote:
> A libstdc++ testcase for pb_assoc uses the type map_t, conflicting
> with that same type in system headers. The following patch changes the
> name to tree_map_t to make it more unique. I can change it to something
> else more unique if there are other preferences.
Am I right in thinking that any POSIX header is allowed to define any
name ending in _t, possibly as a macro, so maybe map_type or
tree_map_type would be even better? That is also consistent with the
standard library's size_type, value_type etc.
http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_02.html#tag_02_02_02
jon
More information about the Libstdc++
mailing list