經安全檢測,此網站為安全網站,請放心前往原始網址!

How do I create a subscript operator for a Matrix class?, C++ FAQ

Use operator() rather than operator[]. When you have multiple subscripts, the cleanest way to do it is with operator() rather than with operator[]. The reason is that operator[] always takes exactly one parameter, but operator() can take any number of par

www.parashift.com

網址安全性掃描由 google 提供