Opened 8 years ago

Closed 8 years ago

#9967 closed Bugs (fixed)

Incorrect examples for boost::type_traits::extent

Reported by: Naomasa Matsubayashi Owned by: John Maddock
Milestone: To Be Determined Component: type_traits
Version: Boost 1.55.0 Severity: Problem
Keywords: Cc:

Description

4th example in following documentation is wrong.

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>."

Change History (1)

comment:1 by John Maddock, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.