|
Boost : |
From: Kresimir Fresl (fresl_at_[hidden])
Date: 2003-10-30 03:49:06
Ronald Garcia wrote:
>> And one from Kresimir Fresl:
>> - how does one distinguish C storage and Fortran storage layout
>> generically?
> Since the storage layout is not part of an array's type, you cannot
> distinguish the two generically (assuming that by generically you mean
> "at compile time"). The multi_array has a storage_order member function
> that returns the storage order object. This can be used at runtime to
> determine the storage order of an array, though it is expressed in a
> more general form than C or Fortran storage order.
Am I missing something? I can't find storage_order member
function (at least not in boost 1.30.2).
Regards,
fres
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk