This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, libstdc++] libstdc++ pb_assoc testcase fix


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]