Boost logo

Boost :

From: Brian McNamara (lorgon_at_[hidden])
Date: 2004-02-17 19:25:33


Indirect Functoids

This is perhaps the most Boost-redundant feature of the library. FC++
indirect functoids do almost the same thing as boost::function objects.
The differences:
 - indirect functoids are imbued with "full functoid" features
 - indirect functoids don't work with non-const reference parameters,
   whereas boost::function object do
 - indirect functoids can't be "null", whereas boost::function objects
   can

There is also an implementation dependency that FC++ lazy lists rely on
indirect functoids in their implementation, but I think this dependency
could be removed (creating a dependency on boost::function instead).

If FC++ were accepted into Boost, my gut tells me that in the
long-term, indirect functoids would naturally disappear (by getting
absorbed by boost::function).

-- 
-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