Ticket #3704 (closed Bugs: fixed)
Incorrect boost::decay documentation
|Reported by:||Kenneth Ho <ken@…>||Owned by:||johnmaddock|
The first row of table 1.10 Examples in boost::decay doc states the result of decay<int>::type is int* (where lowest array bound removed), which is incorrect and is actually int* (where topmost array bound removed). Unlike the former, the later behavior is consistent with boost::remove_extent.
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* ..."