0
SchedulingItem operator[](Schedule obj,int el) {
    return obj.OfVector().at(el);
}

When using this code gets : SchedulingItem operator[](Schedule obj,int el) must be a nonstatic member function SchedulingItem operator[](Schedule obj,int el) Where is problem ?

M.Devan
  • 169
  • 2
  • 13
  • 1
    Possible duplicate of [Operatrator \[\] as non-static function](http://stackoverflow.com/questions/44010316/operatrator-as-non-static-function) – M.M May 16 '17 at 21:41
  • Use a language tag next time. And the search function – M.M May 16 '17 at 21:41

0 Answers0