<div dir="ltr">if I have something like<div><br></div><div><pre style="color:rgb(169,183,198);font-family:Menlo;font-size:9pt;background-color:rgb(43,43,43)"><span style="color:rgb(204,120,50);font-weight:bold">template</span><<span style="color:rgb(204,120,50);font-weight:bold">class </span>T><br><span style="color:rgb(204,120,50);font-weight:bold">class </span>V8TOOLKIT_WRAPPED_CLASS<br>MyTemplate {}<span style="color:rgb(204,120,50)">;<br></span><span style="color:rgb(204,120,50)"><br></span><span style="color:rgb(204,120,50);font-weight:bold">template</span><<span style="color:rgb(204,120,50);font-weight:bold">class </span>T><br><span style="color:rgb(204,120,50);font-weight:bold">class </span>V8TOOLKIT_WRAPPED_CLASS DerivedFromMyTemplate : <span style="color:rgb(204,120,50);font-weight:bold">public </span>MyTemplate<T> {}<span style="color:rgb(204,120,50)">;<br></span><span style="color:rgb(204,120,50)"><br></span></pre></div><div>and then DerivedFromMyTemplate<int> some_var;</div><div><br></div><div>I get two CXXRecordDecl's from my matcher which just matches all classes and structs -- one with a base of</div><div><br></div><div>







<p class=""><span class=""> MyTemplate<T></span></p><p class=""><span class=""><br></span></p><p class=""><span class="">and it has no associated cxxrecorddecl or tagdecl.   It has typeclass 32 (which I don't know what means).</span></p><p class=""><span class=""><br></span></p><p class=""><span class="">Then I get another one with with a base of: </span> MyTemplate<int> (notice <T> vs <int>).   This one also has typeclass 32 but does have a cxxrecorddel and tagdecl.</p><p class="">If I instantiate another type, DerivedFromMyTemplate<short> some_other_var;</p><p class=""><br></p><p class="">I do not get another "bad" type, I just get 3 - bad, int, short.</p><p class="">I've gotten what I need by simply skipping the "bad" one but I'd like to know what's going on.</p><p class=""><br></p><p class="">Thank you.</p><p class=""><br></p><p class="">--Zac</p>







</div><div><br></div></div>