Boost logo

Boost :

From: joel de guzman (isis-tech_at_[hidden])
Date: 2001-05-30 20:34:28

From: "Greg Colvin":
> >
> > typeof(expression) var = expression;

Yes of course, but tedious and error prone.
So people will use the #define to:

#define DefineRule(rule, expr) ....

Ughh. Ouch!

There must be a better way using typeof and declaring
infered types. That would eliminate virtual functions
totally in Spirit.

> >
> > ... but it's a real pain to type :).
> Hasn't C eliminated or at least deprecated implicit int?
> In which case, can't the suntax just be
> var = expression;
> ?

Implicit types?

I dreamed about that too but I guess it will reintroduce
the problems of implicit ints. Comments?

Joel de Guzman

Boost list run by bdawes at, gregod at, cpdaniel at, john at