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

Subject: [Boost-bugs] [Boost C++ Libraries] #5814: Problem in boost::any documentation
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-08-26 17:33:58


#5814: Problem in boost::any documentation
------------------------------+---------------------------------------------
 Reporter: ASIRINeiluj | Owner: matias
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: Documentation
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 At http://www.boost.org/doc/libs/1_47_0/doc/html/any/s02.html it seems
 that the examples functions is_char_ptr & is_string are exchanged.

 any_cast<const char *> shouldn't throw but it's in a try block while
 any_cast<std::string> result should be a string that's not convertible to
 bool contrary to what's done.

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