Yes, you should consider the above question. Boost.Multi-Array may have been mentioned to you before, but if not, you should take a look and see if it meets your requirements.