[mpl] documentation bug (Fibonacci sequence)

1 Mar
2005
1 Mar
'05
9:44 p.m.
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. -- Caleb Epstein caleb dot epstein at gmail dot com
7419
Age (days ago)
7420
Last active (days ago)
1 comments
2 participants
participants (2)
-
Aleksey Gurtovoy
-
Caleb Epstein