Boost logo

Boost Users :

Subject: Re: [Boost-users] Multi-Array indexing
From: Joel Falcou (joel.falcou_at_[hidden])
Date: 2008-10-20 15:57:05


todd keeler a écrit :
> However, S1 and S2 are the same object (subarray), hence require the
> same overloaded operator, returning the same type.
> making this unfeasible.
>
> Therefore, the only way I can think to eliminate this dilemma is to
> have a different object type for every dimension. I'm not sure if
> this is what Multi-array does, but I'd sure like to know how it's done .
>
I guess that each subarray types contains its number of dimension hence
making it different types with yet same interface.

-- 
___________________________________________
Joel Falcou - Assistant Professor
PARALL Team - LRI - Universite Paris Sud XI
Tel : (+33)1 69 15 66 35

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net