title: Using a set vs usings an array in c++
body: <p>I want to hold a group of iterators from a seach function. <strong>Is there a 'better way' to hold a group of iterators (arrays vs. sets). What are the pros and cons of each in terms of memory efficiency?</strong></p>
  
  <p>Thanks. </p>