[Boost-bugs] [Boost C++ Libraries] #3704: Incorrect boost::decay documentation

Subject: [Boost-bugs] [Boost C++ Libraries] #3704: Incorrect boost::decay documentation
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-12-02 04:59:31

#3704: Incorrect boost::decay documentation
 Reporter: Kenneth Ho <ken@…> | Owner: matias
     Type: Bugs | Status: new
Milestone: Boost 1.42.0 | Component: Documentation
  Version: Boost 1.41.0 | Severity: Problem
 Keywords: decay type_traits |
 The first row of table '''1.10 Examples''' in
 boost::decay] doc states the result of '''{{{decay<int[2][3]>::type}}}'''
 is '''{{{int[2]*}}}''' (where lowest array bound removed), which is
 incorrect and is actually '''{{{int[2]*}}}''' (where topmost array bound
 removed). Unlike the former, the later behavior is consistent with

 Also, the description of '''type''', quote: '''"... the result is
 remove_extent<U>* ..."''', would've been more accurate if it was '''"...
 the result is remove_extent<U>::type* ..."'''

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