Hi!
Ondra Holub schrieb:
> On 16 Srp, 14:48, Frank Birbacher <bloodymir.c...@gmx.net> wrote:
>> //generic
>> template<typename T>
>> void process(T t) {}
>>
>> //partial specialization
>> template<typename T>
>> void process(T* const t) {}
Is the above really a "full specialization"? o_O
> Yes. it works. But it is full specialization, not partial
> specialization. Try following:
>
> template<typename T, int N>
> void Func()
> {
> }
>
> template<typename T>
> void Func<T, 10>()
> {
> }
-.- ok, fails. But why? I don't understand this restriction, especially
because classes can be partially specialized.
Frank