Chris and Lutz, Ok, that's what I was thinking about but I had to be sure. In fact C++ bitfields allow you to pack information exactly (well almost exactly, you have to take care of the offset with appropriate padding, but bitfields take care of the 'range') this way in your ADT. This is almost equivalent. But I'm not sure of endianness consideration in both cases, especially for network code. Can somebody comment? Anyway I like this syntax. It is elegant. "Lutz Donnerhacke" a �crit dans le message news: slrn9lg7ve.jq.lutz@taranis.iks-jena.de... > * Bertrand Augereau wrote: > >> Ada 95 on the other hand gives you the ability to specify the layout of > >> structures with greater precision (in general). This gives it an edge > >> over C++. > >What do you mean? > > https://www.iks-jena.de/mitarb/lutz/ada/net/net-packet-ip-v4__ads.htm