friend templatesThanks. I'm curious if f can be friend of both A<T1> and B<T2>?
friend templatesThe problem is how to declare typename T2 in A
friend templates[code] template<typename T> class A { //... }; template<typename T> class B { //... }; ...
Template partial specializationThanks, [b]static_assert[/b] is what I want. Now my code looks like this: [code] #include <type_trai...
Template partial specializationThanks a lot! And now I think of writing a private constructor in the general combo class to ban the...
This user does not accept Private Messages