The following snippet is improperly interpreted:
for(unsigned $NameBase$Idx=0;$NameBase$Idx<$NameBase$s.length();++$NameBase$Idx)
{
$Type$ $NameBase$=$NameBase$s[$NameBase$Idx];
}
I am prompted for a variable called "0;", and the expansion is then wrong anyway. I can "fix" it like this:
for(unsigned $NameBase$Idx =0;$NameBase$Idx<$NameBase$s.length();++$NameBase$Idx)
{
$Type$ $NameBase$=$NameBase$s[$NameBase$Idx];
}
But then, for good or for ill, my for loops won't look like the rest of my code.
I tried putting a variable in the needless space, but this meant more presses of Tab when using the dialog, so I don't think it's a good workaround.