bluesky idea: __attribute__ (netorder)

Joern Rennecke amylaar@cygnus.co.uk
Mon Sep 7 14:39:00 GMT 1998


> > Even bluer sky...
> > 
> >         __attribute__((property(foo)))
> 
> *THAT* is probably even better.  I like the expandability of if, though
> I'm not sure what other properties will be wanted.  However, someone
> will probably think of some.

Expandability - like adding a list of values after the property name?
We could make them be lisp expressions that are evaluated once every
time the property is used.
Together with overload resolution in C++, that should make it possible
to write a program that prints "Hello, World!\n" while it is being compiled.



More information about the Gcc mailing list