Home > Back-end >  How to return a vector <int> part of the reference container? O great god answer ~
How to return a vector <int> part of the reference container? O great god answer ~

Time:09-22

Like vector Vec {6}; I want to return to the three, four, five, attach to rewrite a operator [] to implement as in python vec (1:3) function, how to return the container part reference ~
  • Related