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>."
Note:
See TracTickets
for help on using tickets.
Fixed in https://github.com/boostorg/type_traits/commit/3327d4c48fd16dd7b5166a947c51d551837f0df6