Re: Ada.Strings.Bounded

Jean-Pierre Rosen <[email protected]>
Newsgroups gmane.comp.lang.ada.france
Message-ID <[email protected]>
Thomas De Contes a écrit :
 > bonjour :-)
 >
 > un truc anecdotique :
 > pourquoi dans Ada.Strings.Bounded,
 > Max_Length est Positive ?
 > ça aurait posé des problèmes que ça soit un Natural ??
 > moi j'aurais trouvé ça plus logique
 >
Max_Length ne sert qu'à ré-exporter la valeur du paramètre générique 
Max, et Max est Positive, ce qui paraît logique: on ne voit pas pourquoi 
on voudrait instantier ce paquetage pour des chaînes dont la longueur 
*max* serait 0...

-- 
---------------------------------------------------------
            J-P. Rosen ([email protected])
Visit Adalog's web site at http://www.adalog.fr
_______________________________________________
Site WWW de l'association Ada-France: http://www.ada-france.org/
[email protected]
http://www.ada-france.org/mailman/listinfo/ada-france
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.