I am typedefing a boost::multi_array as follows:
Code:
typedef boost::multi_array<int, 3> _3DArray;
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<typename t, 3> _3DArray<typename t>;
where you would simply declare the _3DArray with your chosen type. Obviously, this code does not work. How would I actually do this?
Thank you in advance