Boost logo

Boost Users :

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() ?

> }
>
> }


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net