Boost logo

Boost :

From: Manfred Doudar (manfred.doudar_at_[hidden])
Date: 2005-11-17 09:07:55


Rodrigo Philander wrote:

>At this point I am not familiar with MPL, so my apologies if my
>suggestion is naive...
>
>You use template recursion to support an arbitrary number of
>dimensions at compile-time, which is fine. The natural means of
>handling the base case of N=1 is (as I see it) a partial
>specialization of the MyArray class. Something like this:
>
><snip ... code sample>
>
>
>Hope this helps...
>
>

Thanks Rod. Yes, if I were building something from the ground up,
the sort of model you suggest is a good start, thanks for input.

...Anyhow, it seems that the root of my problems were not MPL based,
but rather the way I was overloading the blitz parameter list - my
fault really for trying to be too smart, reading the blitz code, and
using at my own peril, undocumented features.

Nonetheless, I thank you and others who have contributed, it's been
much appreciated.

With Thanks,

-- 
Manfred Doudar
MetOcean Engineers
www.metoceanengineers.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk