User: oswww

  • Public profile

User profile: oswww

User info
User name:oswww
History
Joined:
Number of posts:7
Latest posts:

friend templates
Thanks. I'm curious if f can be friend of both A<T1> and B<T2>?

friend templates
The problem is how to declare typename T2 in A

friend templates
[code] template<typename T> class A { //... }; template<typename T> class B { //... }; ...

Template partial specialization
Thanks, [b]static_assert[/b] is what I want. Now my code looks like this: [code] #include <type_trai...

Template partial specialization
Thanks 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