lwc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lightweight C++] lwc 1.3


From: Stelios Xanthakis
Subject: [Lightweight C++] lwc 1.3
Date: Tue, 4 May 2004 22:39:20 +0300 (EET DST)

lwc version 1.3 is out at
http://students.ceid.upatras.gr/~sxanth/lwc/lwc-1.3.tar.bz2

The major feature is cost-free cleanups of local objects
when exceptions are raised. This only works for gcc 3.4
though which has the __attribute__((cleanup(function))).

Other additions are:

 - destructors of local objects cooperate with 'goto' for
   gcc 3.4 backend.

 - pure local typedefs and abstract data members to be
   used in auto-functions and allow generic code.

 - 'typeid' as a special virtual variable name which is
   automatically initialized with a string which is the name
   of the class. multiple-dispatch possible with this.

 - an anonymous object declaration can be used in expressions
   as in C++. for example:
        class A { A(){} };
        int foo (A);
        int main ()
        {
                foo (A());
        }

There are no major features in our wishlist for now so this
version is probably going to freeze for some time. Updated
versions with bugfixes may be released so always check out
for 1.3.x tarballs if you encounter bugs in current.

Stelios







reply via email to

[Prev in Thread] Current Thread [Next in Thread]