How do I use boost::multi_array with a templated argument?