$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Daniel Wallin (dalwan01_at_[hidden])
Date: 2005-02-02 11:21:25
Jonathan Turkanis wrote:
> Do you have any suggestions for improving the macro syntax? For instance, do you
> like David Abrahams's suggested syntax better:
>
> DECLARE_INTERFACE(
> Interface,
> ((int)(print)(ostream&)(int))
> );
>
> ?
Here's two other ideas (that I *think* are implementable):
DECLARE_INTERFACE(Interface,
2(int, print, (ostream&, int))
);
DECLARE_INTERFACE(Interface,
(int, print, 2(ostream&, int))
);
-- Daniel Wallin