Hey.

I'm wanting to fill the vector below with newed copies of each element in vec_ref and I was wondering if there is a STL algorithm that I can take advantage of?
Code:
int main()
{
  std::vector<C> c_vec(10, C(1));
  const std::vector<C>& vec_ref = c_vec;

  std::vector<C*> new_c_vec;

  // ... copy vec_ref into new_c_vec using "new"

  return 0;
}
Cheers.