Old Dr. Dobb's Article

http://www.drdobbs.com/a-class-template-for-n-dimensional-gener/184401319
A Class Template for N-Dimensional Generic Resizable Arrays
By Giovanni Bavestrelli, December 01, 2000

Unfortunately, the listing links do not lead to code. I would be delighted if someone could share this code with me. I already tried web.archive.org with no luck.

Edit: I also have emailed the author, but have had no response yet.
Last edited on
Thanks for finding links that work! (I confess that I did not see that page numbers at the bottom of the article until you posted those links lol)

I have looked at boost::multi_array, but I am working on an API for GPU programming. I need to manually control the memory allocations and copying of data between CPU and GPU. Maybe it would be possible for me to subclass boost::multi_array, however at this time I think avoiding that is better for my API. I do appreciate the suggestion of boost though; I too believe that more c++ programs should use boost.
Last edited on
Topic archived. No new replies allowed.