Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2005-03-02 00:15:55


Caleb Epstein writes:
> In the MPL reference manual, in the vector_c section, an example is
> given:
>
> typedef vector_c<int,1,2,3,5,7,12,19,31> fibonacci;
>
> These values are not correct. The numbers should be 1, 1, 2, 3, 5,
> 8, 13, 21, and 34 and the final number that gets push_back'd to make
> fibonacci2 should be 55.

Fixed in the documentation sources, thanks for the report!

-- 
Aleksey Gurtovoy
MetaCommunications Engineering

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk