We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3ab84c commit a88d02dCopy full SHA for a88d02d
source/templates.tex
@@ -2220,7 +2220,7 @@
2220
The
2221
\grammarterm{template-argument}
2222
for
2223
-\tcode{Array<T>::operator[]()}
+\tcode{Array<T>::operator[]}
2224
will be determined by the
2225
\tcode{Array}
2226
to which the subscripting operation is applied.
@@ -2229,8 +2229,8 @@
2229
Array<int> v1(20);
2230
Array<dcomplex> v2(30);
2231
2232
-v1[3] = 7; // \tcode{Array<int>::operator[]()}
2233
-v2[3] = dcomplex(7,8); // \tcode{Array<dcomplex>::operator[]()}
+v1[3] = 7; // \tcode{Array<int>::operator[]}
+v2[3] = dcomplex(7,8); // \tcode{Array<dcomplex>::operator[]}
2234
\end{codeblock}
2235
\end{example}
2236
0 commit comments