From: David B. Held (dheld_at_[hidden])
Date: 2003-01-07 12:31:05


"Pavel Vozenilek" <pavel_vozenilek_at_[hidden]> wrote in message
news:aveup0$8jc$1_at_main.gmane.org...
> [...]
> There are many variants, e.g.:
>
> typedef double yes_type;
> typedef yes_type no_type[2];

Same problem as Terje's example...can't return array types. ;) Vandevoorde
and Josuttis use char and struct { char[2] }. I guess the best choice would
be the one that taxes the compiler least, but I'm not sure how to determine
that (short of asking the compiler vendors).

Dave