Opened 10 years ago

Closed 10 years ago

#7631 closed Bugs (duplicate)

Should declare a free swap() function

Reported by: Dave Abrahams Owned by: nasonov
Milestone: To Be Determined Component: any
Version: Boost 1.52.0 Severity: Problem
Keywords: Cc:

Description

std::random_shuffle on any's is super-inefficient because there's no free swap for ADL to find.

Change History (1)

comment:1 by Steven Watanabe, 10 years ago

Resolution: duplicate
Status: newclosed

Duplicates #7578.

Note: See TracTickets for help on using tickets.