Since I assume this wont make a deep copy of the array (but instead just copy the pointer) I was wondering what is the proper way to store a copy of std or boost array.
@JLBorges Great so the a duplicate would be stored in the vector. Looks like I assumed wrong. Thanks!
@gunnerfunner I think you misunderstood my problem, the temporary array will be destroyed right after calling this function. So there is no point in storing the data pointer.