<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"><title>Typedef templates</title>
</head>
<body>
<font face="Lucida Grande"><span style="font-size:11pt">Hello everyone,<br>
<br>
I’m new to clang and this is my first post, so please forgive me for what may be a basic question.<br>
<br>
I have a template like this:<br>
<br>
template <class T, class U, class V><br>
class MyTemplate {<br>
public:<br>
T var1 ;<br>
U var2 ;<br>
V var3 ;<br>
} ;<br>
<br>
<br>
And I have a typedef like this:<br>
<br>
typedef MyTemplate< double , int , short > MyTemplateTypedef ;<br>
<br>
What I’m trying to find is somewhere that stores the template with the arguments substituted in. I have seen some of the template instantiating routines in Sema, but cannot figure out how to use them. Am I on the right track here?<br>
<br>
Thanks in advance,<br>
<br>
Alex<br>
<br>
</span></font>
</body>
</html>