Boost logo

Boost Users :

From: joel falcou (joel.falcou_at_[hidden])
Date: 2008-08-11 12:05:15


> Doesn't work for : <snip>

Yes, I thought that the
boost::result_of protocol needed the result struct to be a one argument
template only. I forgot about default argument and such.

Well,
I used some preprocessor magic and got this :
http://codepad.org/VrLTKmJO

Should do the tric IMHO. Comments
on how to simplify this is of course welcomed.
If it's of some
interest, I can make a proper file to be included in the proper boost
library (maybe next to result_of ?)


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