Boost logo

Boost :

From: Jaap Suter (J.Suter_at_[hidden])
Date: 2002-09-19 08:50:13

> Regarding your first comment, about the type traits, that's a legitimate
> issue. Perhaps an exception could be made for them. You might also, as you
> say, specialise for built-in types. This is an open issue.

I don't like the exception solution. Specializing for built-in types is a
better solution, after all built-in types 'are' special.

Then again, maybe this is just another sign that adding a ::type feature to
the built-in types is something the C++ standard might consider. I think
that int::type or float::type is a great feature.

(Jaap hops over to comp.lang.c++.moderated to ask about this, in order to
make a fool of himself....)

> However, I feel
> the advantage in having metafunctions evaluate their own arguments is so
> great, that it should be possible to find a solution to this.

I agree completely.


Jaap Suter

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