Opened 16 years ago

Closed 15 years ago

#807 closed Bugs (fixed)

boost::assignment documentation: mathematical "typo"

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 (2)

comment:1 by Marshall Clow, 15 years ago

Component: Noneassign
Description: modified (diff)
Severity: Cosmetic
Status: assignednew

comment:2 by Thorsten Ottosen, 15 years ago

Resolution: Nonefixed
Status: newclosed

fixed for 1.35

Note: See TracTickets for help on using tickets.