Here is a sample code:
When I compile it with clang ++, I get an error message:
'f' is a private member of 'A' using A::f; ^
How to make the template method f(std::unique_ptr<T>, int) visible from class B ?
Note : if the virtual method A::f(int) moved to a public section, everything works fine.
c ++ c ++ 11 templates clang ++
abyss.7
source share