Hello, How do I wrap a function which can return either an object or NULL? For example: int foo(int i) { if(i == 0) } __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree