Code:
SchedulingItem operator[](Schedule obj,int el){
return obj.OfVector().at(el);
}
Error:
academia::SchedulingItem academia::operator[](academia::Schedule, int)' must be a nonstatic member function SchedulingItem operator[](Schedule obj,int el)
Where is the problem?