Re: [Boost-bugs] [Boost C++ Libraries] #5814: Problem in boost::any documentation

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5814: Problem in boost::any documentation
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-14 18:22:31


#5814: Problem in boost::any documentation
-------------------------------+--------------------------------------------
  Reporter: ASIRINeiluj | Owner: nasonov
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: any
   Version: Boost 1.47.0 | Severity: Problem
Resolution: invalid | Keywords:
-------------------------------+--------------------------------------------
Changes (by steven_watanabe):

  * status: new => closed
  * resolution: => invalid

Comment:

 The documentation is correct.

 a) any_cast<const char*>(operand) can throw because operand is passed by
 reference
 b) any_cast<std::string>(&operand) returns std::string* because the
 operand is a pointer.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5814#comment:2>
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:12 UTC