#10279 closed Bugs (invalid)
[type_index] Incorrect specification of `skip_at_begin` and `skip_at_end`
Reported by: | Michel Morin | Owned by: | Antony Polukhin |
---|---|---|---|
Milestone: | To Be Determined | Component: | None |
Version: | Boost Development Trunk | Severity: | Cosmetic |
Keywords: | Cc: |
Description
In the documentation "Fixing pretty_name() output",
skip_at_begin
and skip_at_end
are incorrectly specified:
- set
skip_at_begin
tosizeof("const char *__cdecl boost::detail::ctti<") - 1
andskip_at_end
tosizeof(">::n(void)") - 1
. - set
skip_at_begin
tosizeof("static const char *boost::detail::ctti<") - 1
andskip_at_end
to sizeof("]") - 1`.
These - 1
are not necessary.
Similar fixes are needed to the comments in detail/compile_time_type_info.hpp
too.
Change History (3)
comment:1 by , 8 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:3 by , 8 years ago
Thanks for your comment and interesting library, Antony! I made a small patch that fixes typos and I'll create a ticket for that.
Note:
See TracTickets
for help on using tickets.
Oops, I misunderstood the size of string literals (i.e. char arrays). The specification is correct and this ticket is invalid.
Sorry for the noise.