I am typedefing a boost::multi_array as follows:
If I wanted to be able to choose what type to make that _3DArray, what would I have to do? I was imagining something along the lines of:Code:typedef boost::multi_array<int, 3> _3DArray;
where you would simply declare the _3DArray with your chosen type. Obviously, this code does not work. How would I actually do this?Code:typedef boost::multi_array<typename t, 3> _3DArray<typename t>;
Thank you in advance![]()




Reply With Quote