I'm quite sure you cannot specialize a member function template of a partially specialized class template unless outer<1u,B> is itself specialized ( for example, the code "template<> template<> void outer<1u, 0>::inner<0>(){}" at namespace scope placed after outer<1u,B> declaration defines a specialization of the member function template outer<1u,B>::inner() ).
the only difference being that this time my_name:uter<1u, 2u>::inner<3u>(); gives a compiler error instead ... ( I've not put a default inner implementation in the primary outer_impl definition in such a way to retain outer_impl as a generic "ternary" specialization model to be used by other outer<> partial specializations that might or might not define an inner() member ... )
I have used your suggestion, adapted to the application.
The language issues are working out!
The application still has a problem, but that is an unrelated issue.
Always a pleasure at codeguru!
Sincerely, Chris.
You're gonna go blind staring into that box all day.
Bookmarks