I have a method that returns a QList<int>.

some possibilities:
- QList is returned filled with ints. OK.
- QList returns empty, but because no ints were put in it.

but the method might result in error, and I have to return it nonetheless.
right now, I'm returning a empty QList, but its no good, since a empty QList is possible to happen without error.

I tryed returning 'NULL', but C++ won't let me.
I thought of returning a QList with the first element set to -1, but that's lame.

What can I return instead?
I'd rather not use Exceptions...

thankyou