This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH, libstdc++] libstdc++ pb_assoc testcase fix
Jonathan Wakely wrote:
>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.
>
>
Also ok with me (notice that we are talking about *a testcase* therefore
consistency with the standard library names doesn't seem really
relevant. Ok, no more nitpicking for today ;)
Paolo.