Boost logo

Boost :

From: Daniel Frey (daniel.frey_at_[hidden])
Date: 2002-03-08 03:36:01

Howard Hinnant wrote:
> template <class T> T make();
> template<typename TypeLHS, typename TypeRHS>
> struct binary_operator_traits {
> typedef typeof(make<TypeLHS>() + make<TypeRHS>()) arithmetic;
> };

I wrote an answer over at comp.std.c++, as I think it is better to
continue there with proposals of language extensions. It should show up
as soon as the moderators approve it, the subject is: "To 'typeof' or
not to 'typeof'?".

Regards, Daniel

Daniel Frey
aixigo AG - financial training, research and technology
Schloß-Rahe-Straße 15, 52072 Aachen, Germany
fon: +49 (0)241 936737-42, fax: +49 (0)241 936737-99
eMail: daniel.frey_at_[hidden], web:

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