comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Ada Smileys in C++ lib Conversion
Date: Sat, 14 Aug 2010 23:01:00 +0200
Date: 2010-08-14T23:01:00+02:00	[thread overview]
Message-ID: <73rngjzgqele.g5nciueylah9.dlg@40tude.net> (raw)
In-Reply-To: b5965b85-39fd-434c-b693-f6760f949b2f@x21g2000yqa.googlegroups.com

On Sat, 14 Aug 2010 13:34:54 -0700 (PDT), Maciej Sobczak wrote:

> On 14 Sie, 12:57, Brian Drummond <brian_drumm...@btconnect.com> wrote:

>> But it certainly puzzled me to be told that I couldn't use a "const" in a
>> constant expression!
> 
> And what would that mean, anyway? How would you want to use it and
> what would you like to achieve with it?

What? Since you can convert (const char *) to (char *), it seems perfectly
in C++ style that you also could convert something that is not static to
static!

   const int I = (const) getc();  // Do what I tell you!

(Don't take this seriously. (:-))

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2010-08-14 21:01 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-13 14:20 Ada Smileys in C++ lib Conversion Warren
2010-08-13 15:06 ` Yannick Duchêne (Hibou57)
2010-08-13 16:53 ` Anh Vo
2010-08-14  1:36   ` Warren
2010-08-14  9:52     ` Georg Bauhaus
2010-08-14 10:57     ` Brian Drummond
2010-08-14 20:34       ` Maciej Sobczak
2010-08-14 21:01         ` Dmitry A. Kazakov [this message]
2010-08-15  1:16         ` Brian Drummond
2010-08-15 10:04           ` Maciej Sobczak
2010-08-16 12:08             ` Brian Drummond
2010-08-16 12:13               ` Georg Bauhaus
2010-08-16 12:30             ` Brian Drummond
2010-08-16 12:39               ` Maciej Sobczak
2010-08-16 21:39                 ` Brian Drummond
2010-08-16 22:53                   ` Robert A Duff
2010-08-24 10:12           ` David Thompson
2010-08-30  9:51             ` Brian Drummond
2010-08-16 14:54       ` Warren
2010-08-16 20:27         ` Maciej Sobczak
2010-08-17 12:57           ` Warren
2010-08-17 13:37             ` Maciej Sobczak
2010-08-17 15:07               ` Georg Bauhaus
2010-08-18 17:31               ` Warren
2010-08-24 10:12             ` David Thompson
replies disabled

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