In Runway::can_land(const Plane &current), you have the following:



result = takeoff.append(current);


takeoff is an object of type Extended_queue, which inherits append() from Queue....