Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-10-07 06:51:17

"E. Gladyshev" <egladysh_at_[hidden]> writes:

> [...]
>> Yes, it's true that each type must be checked. So perhaps "complexity"
>> is not the correct word to use. Nonetheless, compile-time *performance*
>> will be hampered, as there is a difference between O(N) and O(2N) when
>> waiting for compilation to finish, even if they are both in theory O(N).
> So you decided that it is worth to make the first type special.
> Well, seems like a strange justification to me but anyway...

Me too, FWIW. In generic code it may not be so easy to control the
properties of the type which comes first.

Dave Abrahams
Boost Consulting

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