[C++-sig] Trying to implement subscriptable type in c++.