comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.not.jrcarter@acm.not.spam.org>
Subject: Re: Question about Streams and UDP sockets using GNAT.Sockets
Date: Wed, 19 Jul 2006 00:32:16 GMT
Date: 2006-07-19T00:32:16+00:00	[thread overview]
Message-ID: <k4fvg.85823$1i1.69502@attbi_s72> (raw)
In-Reply-To: <x0bmg56dxksd.r8v3vaj6vzc9.dlg@40tude.net>

Dmitry A. Kazakov wrote:
> 
> Yet, the language does not prescribe that each element of that array should
> be written using an individual call to stream's Write. Compare it with an
> implementation of assignment. The language does not require the compiler to
> copy each string character individually. It is free to use memcpy.

ARM 13.13.2: "For composite types, the Write or Read attribute for each 
component is called"

So the language does prescribe this for arrays.

-- 
Jeff Carter
"I'm a lumberjack and I'm OK."
Monty Python's Flying Circus
54



  reply	other threads:[~2006-07-19  0:32 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-18  9:41 Question about Streams and UDP sockets using GNAT.Sockets lekktu
2006-07-18  9:55 ` Dmitry A. Kazakov
2006-07-18 10:25   ` Alex R. Mosteo
2006-07-18 11:02     ` lekktu
2006-07-18 14:25       ` Alex R. Mosteo
2006-07-18 14:58         ` lekktu
2006-07-18 20:52       ` Samuel Tardieu
2006-07-18 20:58     ` Randy Brukardt
2006-07-19 10:36       ` Alex R. Mosteo
2006-07-19 18:50       ` Simon Wright
2006-07-18 19:07   ` Jeffrey R. Carter
2006-07-18 20:13     ` Dmitry A. Kazakov
2006-07-19  0:32       ` Jeffrey R. Carter [this message]
2006-07-19  8:12         ` Dmitry A. Kazakov
2006-07-19 18:59 ` Simon Wright
2006-07-19 20:54   ` lekktu
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox