Opened 8 years ago
Closed 8 years ago
#10068 closed Bugs (fixed)
Typo in document at http://www.boost.org/doc/libs/1_55_0/libs/utility/base_from_member.html
Reported by: | Owned by: | Daryle Walker | |
---|---|---|---|
Milestone: | To Be Determined | Component: | utility |
Version: | Boost 1.55.0 | Severity: | Problem |
Keywords: | Cc: |
Description
There is a typo at page: http://www.boost.org/doc/libs/1_55_0/libs/utility/base_from_member.html , one the line:
, pbase2_type( -16, &this->pbase0_type::member )
where switcher needs (double, int *), but &this->pbase0_type::member is actually my_int * , so it needs to be:
, pbase2_type( -16, &this->pbase0_type::member.y )
Change History (3)
comment:1 by , 8 years ago
Component: | Documentation → utility |
---|---|
Owner: | changed from | to
comment:2 by , 8 years ago
Owner: | changed from | to
---|
comment:3 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in:
https://github.com/boostorg/utility/commit/da239df58dd36d029959778f15cde484039c32a6