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] | |
Attachment:
nonstd_pointer.patch
Description: Binary data
Uglified to _Tp, __arg, __rarg, _Up, also found some others: __unused, __p.I see many unuglifed names, like T, arg, rarg, _U (should be _Up).
Done for both vector/nonstd_pointer, and ext/nonstd_pointer. Both renamed to ext_pointer.Also, the testcases are in nonstd_pointer/, I think now should be something else, consistent with the rename, like ext_pointer.
Done. I saw this is cast.h, and operator<< in pointer.h, but nowhere else.Also, we don't constify by value arguments, thus, for example, _FromType * const arg should be just _FromType* arg.
Done. (Many occurrences)Also make sure that & and * stay with the type of the argument, e.g., const _ExtPtr_allocator &__rarg should be const _ExtPtr_allocator& __rarg.
Only saw this in extptr_allocator's include guard. grepped for other occurances, found none.Finally, do not append _ to names,
and do not prepend GCC, _EXT_CAST, not _GCC_EXT_CAST.Fixed in pointer.h, cast.h, extptr_allocator.h. NOTE: also removed GCC prefix from
Last but not least, a ChangeLog entry is missing.Added an entry.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |