title: Simulating C# indexer in C++
body: <p>As you know in C# classes we can define an indexr with more than one argument.
  But in C++ operator [ ] can accept one argument. Is there a way to wrtie an indexer in C++ with more than one argument?</p>
  
  <p>indexer in C# :</p>
  
  <pre><code>public AnyType this[arg1 , arg2 , .....]
  {
      get { ... };
      set { ... };
  }
  </code></pre>
  
  <p>[ ] operator in C++ :</p>
  
  <pre><code>AnyType &amp; operator [] ( arg )
  {
     // our code  
  }
  </code></pre>