type TBytesOverlay<T> = array [0..SizeOf(T) - 1] of Byte

On March 29, 2012, Sven Barth wrote:

> Am 29.03.2012 10:14, schrieb J.-c. Chu:
>> Hi,
>>
>> Could somebody explain why SizeOf() cannot be used in the definition of
>> generic arrays?  I know this is a current limitation of Delphi, but will
>> it be possible to have this feature in Free Pascal first?
>>
> 
> Can you give a concrete example what you want to achieve, please?
> 
> Regards,
> Sven
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal

-- 
Best Regards,
J.-c. Chu
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to