Provide default arguments for subscript operator and function call operator – stackoverflow.com

In the following code, I have provided default arguments for array subscript operator. struct st { int operator[](int x = 0) { // my code } }; But, compiler generated an error : ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Provide default arguments for subscript operator and function call operator – stackoverflow.com"