Opened 10 years ago

Closed 10 years ago

#7632 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 viboes, 10 years ago

Resolution: duplicate
Status: newclosed

Duplicated #7631

Note: See TracTickets for help on using tickets.