Operator templates in C++
<p>If I want to create a function template, where the template parameter isn't used in the argument list, I can do it thusly:</p>

<pre><code>template&lt;T&gt;
T myFunction()
{
//return some T
}
</code></pre>

<p>But the invocation must specify the 'T' to use, as the compiler doesn't know how to work it out.</p>

<pre><code>myFunction&lt;int&gt;();
</code></pre>

<p>But, suppose I wanted to do something similar, but for the '[]' operator. 
template</p>

<pre><code>T SomeObject::operator [ unsigned int ]
{
    //Return some T
}
</code></pre>

<p>Is there any way to invoke this operator?
This doesn't appear valid:</p>

<pre><code>SomeObject a;
a&lt;int&gt;[3];
</code></pre>
