Re: Teaching new tricks to an old dog (C++ -->Ada)
From: Martin Krischik (martin_at_krischik.com)
Date: 03/24/05
- Next message: Jef Driesen: "Re: Problem with abstract base class"
- Previous message: Jef Driesen: "Re: Problem with abstract base class"
- In reply to: adaworks_at_sbcglobal.net: "Re: Teaching new tricks to an old dog (C++ -->Ada)"
- Next in thread: Jerry Coffin: "Re: Teaching new tricks to an old dog (C++ -->Ada)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 24 Mar 2005 08:20:49 +0100
adaworks@sbcglobal.net wrote:
> C++ continues to evolve, but much of that evolution seems to follow a
> course of shoring up things already in the language that don't quite work
> as one might prefer, or adding a truss here and a buttress there to
> prevent or enable deficiencies in the language; e.g., cast-away const,
> a truly silly addition to the language.
Needed for calling broken functions in 3td party libraries. There are still
libraries around which won't mark unmodified parameters with "const" to be
compatible with older compilers.
I am not saying it's good. And of course the library vendors are just hiding
there laziness behing a "compatiblity" argument:
#if COMPILER_X_VERSION < 2.0
#define const
#endif
Martin
-- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com
- Next message: Jef Driesen: "Re: Problem with abstract base class"
- Previous message: Jef Driesen: "Re: Problem with abstract base class"
- In reply to: adaworks_at_sbcglobal.net: "Re: Teaching new tricks to an old dog (C++ -->Ada)"
- Next in thread: Jerry Coffin: "Re: Teaching new tricks to an old dog (C++ -->Ada)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|