|
Boost : |
From: Marco Costalba (mcostalba_at_[hidden])
Date: 2008-04-26 05:28:05
Hi everybody,
in Vault it is possible to download msf.zip, a (very small) file
that contains multi-signature extension to boost::function
It is possible to instantiate a
boost::multi_signature_function::function on a mpl sequence of
signatures and this object will behave as expected, in particular it
keeps all the functionality of boost::function but allows to be called
with different arguments types and/or number.
Interested people could read (and compile) included test.cpp file, an
example is better then 1000 words.
If there is interest I can improve documentation and examples.
Regards
Marco
P.S: This puppy should be compiler friendly, anyhow tested on g++ and MSVC
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk