[fpc-pascal] Set size limit

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Mar 11 14:59:21 CET 2013


On 11 Mar 2013, at 14:52, Sven Barth wrote:

> If the array is a named one (e.g. "TMyArraySet = bitpacked  
> array[TMyEnum] of Boolean") then operator overloading could be used...

Yes, but since neither open nor dynamic bitpacked arrays are  
supported, you'd have to reimplement this for every single pseudo-set  
type you want to use (except maybe if you use generics, if generics  
for simple types already work).


Jonas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130311/d08a0ae8/attachment.html>


More information about the fpc-pascal mailing list