[Boost-bugs] [Boost C++ Libraries] #10068: Typo in document at http://www.boost.org/doc/libs/1_55_0/libs/utility/base_from_member.html

Subject: [Boost-bugs] [Boost C++ Libraries] #10068: Typo in document at http://www.boost.org/doc/libs/1_55_0/libs/utility/base_from_member.html
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-05-25 09:40:23


#10068: Typo in document at
http://www.boost.org/doc/libs/1_55_0/libs/utility/base_from_member.html
----------------------------------+---------------------------
 Reporter: ideal <idealities@…> | Owner: matias
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: Documentation
  Version: Boost 1.55.0 | Severity: Problem
 Keywords: |
----------------------------------+---------------------------
 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 )

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10068>
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