comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: How can I avoid Using a Semaphore?
Date: Mon, 22 Jan 2001 01:51:39 GMT
Date: 2001-01-22T01:51:39+00:00	[thread overview]
Message-ID: <94g3n9$g2p$1@nnrp1.deja.com> (raw)
In-Reply-To: CbKa6.294821$U46.9394163@news1.sttls1.wa.home.com

In article <CbKa6.294821$U46.9394163@news1.sttls1.wa.home.com>,
  "DuckE" <nospam_steved94@home.com> wrote:
> For example, within one application I may want to stream
> information to a network in big endian format and stream
> information to files in little endian format.  From what I
> understand (I may certainly be wrong) I cannot do this in
> Ada.  If I want this functionality I must resort to C++.

Sure you can do this in Ada, just define two types (use
derived types if you want to be able to convert between them)
and specify different stream routines for the two types (or
sets of types).

To what feature are you referring in C++ here that will help
you solve this feature. I am unaware of any feature in standard
C++ that would provide any automatic solution, but I certainly
don't know all of C++ :-)


Sent via Deja.com
http://www.deja.com/



  parent reply	other threads:[~2001-01-22  1:51 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-13 16:18 How can I avoid Using a Semaphore? (long) DuckE
2001-01-15  1:06 ` How can I avoid Using a Semaphore? Nick Roberts
2001-01-15  3:17   ` Robert Dewar
2001-01-16  3:53   ` DuckE
2001-01-17 15:42     ` Nick Roberts
2001-01-20 18:16       ` DuckE
2001-01-20 19:16         ` Robert Dewar
2001-01-21  1:28           ` DuckE
2001-01-21 16:04             ` Robert Dewar
2001-01-21 23:23               ` DuckE
2001-01-22  0:28                 ` mark_lundquist
2001-01-22  1:51                 ` Robert Dewar [this message]
2001-01-23  2:36                   ` DuckE
2001-01-22  0:35               ` Built-in types (was " mark_lundquist
2001-01-22  1:54                 ` Robert Dewar
2001-01-22 16:18                   ` mark_lundquist
2001-01-22 17:20                     ` Robert Dewar
2001-01-22 23:17                       ` Mark Lundquist
     [not found]                         ` <m33deaaeks.fsf@ns40.infomatch.bc.ca>
2001-02-02 22:01                           ` Mark Lundquist
     [not found]                         ` <94km00$bv8$1@nnrp1.deja.com>
2001-02-02 22:03                           ` Mark Lundquist
2001-01-21 16:53           ` Nick Roberts
2001-01-21 18:24             ` Robert Dewar
2001-01-23  0:21               ` Nick Roberts
2001-01-22  0:16         ` mark_lundquist
2001-01-22 16:51 ` How can I avoid Using a Semaphore? (long) mark_lundquist
2001-01-23  6:02   ` DuckE
2001-02-02 22:00     ` Sucking (was Re: How can I avoid Using a Semaphore? (long)) Mark Lundquist
2001-02-03  1:44       ` Jeffrey Carter
2001-02-03  3:21       ` DuckE
2001-02-05 20:07         ` Mark Lundquist
2001-02-06  7:16           ` Sven Nilsson
2001-02-02 22:18     ` How can I avoid Using a Semaphore? (long) Mark Lundquist
2001-02-03  3:01       ` DuckE
2001-02-02 21:38 ` Niklas Holsti
replies disabled

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