Boost logo

Boost :

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


(To help reviewers digest the FC++ library in smaller chunks, I am
 starting individual threads on each of the main chunks of the FC++
 library.)

Direct Functoids

Direct functoids are the FC++ representation for template functions.
The look like normal function objects, but with an added "sig" entity
which is used for return-type deduction. A number of different C++
libraries all discovered the same general trick for computing return
types. Recently, "result_of" has been accepted as the standard way to
ask for a function's return type given certain argument types. FC++
full functoids are compatible with result_of.

When an implementation of result_of appears in Boost, FC++ could switch
to using this representation natively (rather than using its own "sig"
structures). This may also help FC++ interoperate more easily with
other libraries which rely on return-type deduction.

Overall, there is not too much to say about this "chunk" of the library.

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