Hello,
I'm using CGT 6.1.15 and DSP/BIOS 5.33.06 on different C6000 DSPs.
For most parts of the application the STL containers have to be allocated in external memory. Selected containers need to allocated their memory in internal memory. To prevent a copy of the data these containers are passed by reference. Is there a solution to allocate memory within the specified memory segment for those containers without changing the container type?
As a workaround I currently use a custom allocator and cast the container to the container type with the default allocator. Unfortunately this will fail badly as soon as somebody in the system that does not know about my changed container type is modifiying this container. The solution should work with the default allocator.
Thanks!