Opened 16 years ago

Last modified 15 years ago

#807 closed Bugs (fixed)

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

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

Description

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

Note: See TracTickets for help on using tickets.