I want to pass a hashset to std/algorithm's nextPermutation and can't because 
nextPermutation accepts an OpenArray (an array or sequence), but not a hashset.

Are my options then:

  * copy my hashset into a sequence for use with other std/procs that require 
OpenArray's, or,
  * don't use hashsets and just use a sequence with .deduplicate to sort of 
reproduce the benefit of the hashset?



New to programming so the answer (or other options) aren't clear to me.

Reply via email to