Boost logo

Boost :

From: Howard Hinnant (hinnant_at_[hidden])
Date: 2000-11-01 14:26:19

Peter Dimov wrote on 11/1/2000 2:06 PM
>This is true for function templates (except the "who you talk to" part.)
>For the example above, #2 and #3 are specializations. Classes don't
>overload, unfortunately. :-)

Thanks Peter. I'm way too busy today! I pasted those in thinking they
were functions without even reading them.

FWIW, CodeWarrior always calls:

template <class T> void f(T*) { std::cout << 2 << '\n'; } // #2

irrespective of order. I ran this by our compiler engineer and he
believes this is correct behavior.


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