22 Apr
2008
22 Apr
'08
3:33 p.m.
On Tue, Apr 22, 2008 at 10:43 AM, Lang Stefan
I have a big problem though: The project I am working on is quite big and I intend to replace a particular typedef (currently simply a pointer to a struct) with this iterator class. There are two kinds of instructions though that my iterator class currently can't cope with:
1. Initializing a 'pointer' with NULL (in other words, I need a constructor with one argument of type int, but only in case that argument's value is 0)
How about some really weird pointer type? If you did a member function type that doesn't actually exist, you should be able to construct with NULL, but nothing else.