Boost logo

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).



Boost list run by bdawes at, gregod at, cpdaniel at, john at