returning null or throwing an exception?
- by MoKi
I have the following types:
typedef QPair < QTime , QTime > CalculatedTimeSlotRange;
typedef QList < CalculatedTimeSlotRange > CalculatedTimeSlotRangeList;
typedef QHash < quint8 , CalculatedTimeSlotRangeList > TimeSlotsTable;
I have a function like the following:
const CalculatedTimeSlotRangeList*…