3
314ccc
I have some old code that uses very large c style arrays extensively.
I am to the point where I need to write some new methods that access
this data. Instead of passing this data as a pointer and a count, I'd
like to pass it as a const collection reference. The problem is that I
can't seem to figure out how to intiialize any of the STL collections
with the data without making a copy of the data. Is this
possible?...perhaps with a custom allocator??
Thanks in advance!!
I am to the point where I need to write some new methods that access
this data. Instead of passing this data as a pointer and a count, I'd
like to pass it as a const collection reference. The problem is that I
can't seem to figure out how to intiialize any of the STL collections
with the data without making a copy of the data. Is this
possible?...perhaps with a custom allocator??
Thanks in advance!!