Subject: [Boost-bugs] [Boost C++ Libraries] #9967: Incorrect examples for boost::type_traits::extent
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-04-30 15:01:00
#9967: Incorrect examples for boost::type_traits::extent
----------------------------------+-------------------------
Reporter: Naomasa Matsubayashi | Owner: johnmaddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: type_traits
Version: Boost 1.55.0 | Severity: Problem
Keywords: |
----------------------------------+-------------------------
4th example in following documentation is wrong.
*
http://www.boost.org/doc/libs/1_55_0/libs/type_traits/doc/html/boost_typetraits/reference/extent.html
This line
"extent<double[2][3][4], 3>::type is the type
integral_constant<std::size_t, 4>."
should be
"extent<double[2][3][4], 2>::type is the type
integral_constant<std::size_t, 4>."
or
"extent<double[2][3][4], 3>::type is the type
integral_constant<std::size_t, 0>."
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9967> 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