From: Nat Goodspeed (nat_at_[hidden])
Date: 2008-07-14 17:47:55


Meryl Silverburgh wrote:

> MyAPtr myfunction(MyAVector& v, int size) {
> if (index < v.size()) {
> return v[index];
> } else {
> // how can I return NULL here?

Does it work to return MyAPtr() ?

> }
>
> }