Article

From:
To:
Ralf Stocker
Subject:
Re: Delphi Project X Cross GUI
Newsgroup:
embarcadero.public.delphi.non-technical

Re: Delphi Project X Cross GUI

On Wed, 27 Jan 2010 06:12:34 -0800, Moritz Beutel <"Moritz Beutel" <>>
wrote:

>that was a joke. I have written numerous macros which would easily
>resist being ported to Delphi, but I don't really use them in
>production code :)

why not? I do it all the time

>Works in C++Builder 2009 onwards (it relies on decltype()).

looks really interesting
as I still use bcb2006 and don't know yet what that decltype staff is
all about I have to use something like this

#define BEGIN_END_UPDATE(Obj) ScopeGuard ANONYMOUS_VARIABLE(scopeGuard)=MakeBeginEndUpdate((Obj)); (void)(ANONYMOUS_VARIABLE(scopeGuard));
I wonder whether is is possible to implement something similar in newer delphi versions in order to avoid aforementioned ubiquitous nested try/finally boredom?
-- Vladimir Ulchenko aka vavan
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Mon, 25 Nov 2024 11:18:05 UTC
Copyright © 2009-2024
HREF Tools Corp.