[Boost-bugs] [Boost C++ Libraries] #10279: [type_index] Incorrect specification of `skip_at_begin` and `skip_at_end`

Subject: [Boost-bugs] [Boost C++ Libraries] #10279: [type_index] Incorrect specification of `skip_at_begin` and `skip_at_end`
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-07-30 10:51:47


#10279: [type_index] Incorrect specification of `skip_at_begin` and `skip_at_end`
-------------------------------------+-----------------------
 Reporter: michel | Owner: apolukhin
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
  Version: Boost Development Trunk | Severity: Cosmetic
 Keywords: |
-------------------------------------+-----------------------
 In the documentation "Fixing pretty_name() output",
 `skip_at_begin` and `skip_at_end` are incorrectly specified:
   * set `skip_at_begin` to `sizeof("const char *__cdecl
 boost::detail::ctti<") - 1` and `skip_at_end` to `sizeof(">::n(void)") -
 1`.
   * set `skip_at_begin` to `sizeof("static const char
 *boost::detail::ctti<") - 1` and `skip_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.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10279>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC