Opened 16 years ago

Last modified 15 years ago

#807 closed Bugs (fixed)

boost::assignment documentation: mathematical "typo" — at Version 1

Reported by: nobody Owned by: Thorsten Ottosen
Milestone: Component: assign
Version: None Severity: Cosmetic
Keywords: Cc:

Description (last modified by Marshall Clow)

From http://www.boost.org/libs/assign/doc/index.html :

const list<int> primes = list_of(1)(2)(3)(5)(7)(11);

The "bug" is that 1 is not a prime. :)

Reference at http://en.wikipedia.org/wiki/Prime_number .

--federico poloni

Change History (1)

comment:1 by Marshall Clow, 15 years ago

Component: Noneassign
Description: modified (diff)
Severity: Cosmetic
Status: assignednew
Note: See TracTickets for help on using tickets.