Boost logo

Boost :

From: Brian McNamara (lorgon_at_[hidden])
Date: 2004-02-26 16:00:06


On Thu, Feb 26, 2004 at 12:04:19PM -0600, Larry Evans wrote:
> <boost_files>/regexp_first.zip
> , but I was hoping FC++ could maybe do better. One problem (maybe not
> too big of a problem) with the regexp_first code is that there's a
> pointer from subtype to supertype and back (more memory) and the
> virtual functions in supertype must be delegated to in the subtype
> (more programmer time).
>
> I don't know if FC++ can improve on that, but I'd like to see if it
> can. Brian, do you have any ideas on how to do it better in FC++?

Sorry, no. Indeed, I cannot imagine _any_ solution in C++ which
doesn't involve "manually" writing the delegation methods as well as
keeping pointers in both directions.

-- 
-Brian McNamara (lorgon_at_[hidden])

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk