T
TOMERDR
Hi,i am new to stl and i have a question regarding iterators
I have class day contains a map of appointments:
map<time_t,Appointment> m_Appointments;
I would like to write a function FindAppointment(Duration duration)
which return stl style result
but i dont want to return an iterator of type
map<time_t,Appointment>::Iterator
i want to return an iterator to Appointment.
Is it possible?
Note that i dont want to use exceptions
Thanks in advance.
I have class day contains a map of appointments:
map<time_t,Appointment> m_Appointments;
I would like to write a function FindAppointment(Duration duration)
which return stl style result
but i dont want to return an iterator of type
map<time_t,Appointment>::Iterator
i want to return an iterator to Appointment.
Is it possible?
Note that i dont want to use exceptions
Thanks in advance.