Skip to content

A type with template of a template as a base class isn't generated #588

Answered by domcir
domcir asked this question in Q&A
Discussion options

You must be logged in to vote

Hi

I managed to isolate my issue to this:

namespace NA{
    namespace NB{
        namespace NT{
            class mytype{
            };
        }
        enum class MyEnumType
        {
            UNKNOWN=0, //Unknown
            TEST=1, //Call
        };
        template<class T, class K, class J = int>
        class MyClass{
            private:
                T _m;
                K _k;
                J _j;
        };
        
    }
}

namespace NA{
    namespace NC{
        using MyEnumType = NB::MyEnumType;
        using MyType = NB::MyClass<NB::NT::mytype, double>;
        class CB{
            public:
                int a{0};
                MyEnumType _mt;
                CB(…

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@domcir
Comment options

@saudet
Comment options

@saudet
Comment options

@domcir
Comment options

@domcir
Comment options

Answer selected by saudet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants