How to safely and efficiently manage pointers and objects in this system? Beginner Pointer/Vector problem
My Goal I am using an OpenCL Wrapper for GPU processing in C++. This library creates memory objects as: Memory<float>(gpuDevice, sizeOfMemoryObject) I need to create several lists of these each within a vector<Memory<float>>. It is not important to me whether anything is an object or pointer as long as it is smart, safe, and works. […]