Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-02-03 10:44:20

David Abrahams wrote:
> "Jonathan Turkanis" <technews_at_[hidden]> writes:
>> Daniel Wallin wrote:
>>> Jonathan Turkanis wrote:
>>>> Do you have any suggestions for improving the macro syntax? For
>>>> instance, do you like David Abrahams's suggested syntax better:
>>>> Interface,
>>>> ((int)(print)(ostream&)(int))
>>>> );

>>> (int, print, 2(ostream&, int))
>>> );

>> If I could just get rid of that damned arity everything would be
>> great!
> (int, print, (ostream&)(int))
> );
> ?

This might be the best one yet. The same basic idea as your earlier suggestion,
but without two of the annoying sets of parentheses. If you can help me figure
out where to stick 'const' I'll be ready to roll. :-)


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