"Pavel Vozenilek" <[EMAIL PROTECTED]> wrote in message aveup0$8jc$[EMAIL PROTECTED]">news:aveup0$8jc$[EMAIL PROTECTED]... > [...] > 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 _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost