<div dir="ltr">I'm looking for a matcher for variables whose type is a template parameter. For example:<div><br></div><div>template<typename T></div><div>T tVal;                       // Match tVal</div><div>int func(T tParam);   // Match tParam</div><div>int i = func(tVal);       // Match tVal</div><div><br></div><div>Our coding standards require the variable to have a 't' at the start of the variable name.</div><div>Looking at the matcher reference, I didn't see anything obvious. Can anyone point me the right direction?</div><div><br></div><div>Many thanks,</div><div>Robert</div><div><br></div></div>