Boost logo

Boost Users :

From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2008-04-22 11:33:48


On Tue, Apr 22, 2008 at 10:43 AM, Lang Stefan <SLang_at_[hidden]> wrote:
> 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.


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