Opened 8 years ago

Last modified 8 years ago

#11017 new Bugs

typo in Boost.Hash documentation

Reported by: anonymous Owned by: Daniel James
Milestone: To Be Determined Component: hash
Version: Boost 1.57.0 Severity: Cosmetic
Keywords: Cc:

Description

In http://www.boost.org/doc/libs/1_57_0/doc/html/hash/tutorial.html

    std::transform(x.begin(), x.end(), std::insert_iterator(hashes),
        boost::hash<typename Container::value_type>());

std::insert_iterator(hashes) is not a valid syntax. Use std::back_inserter(hashes) instead.

Change History (1)

comment:1 by viboes, 8 years ago

Component: Documentationhash
Owner: changed from Matias Capeletto to Daniel James
Note: See TracTickets for help on using tickets.