11 Aug
2008
11 Aug
'08
4:05 p.m.
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 ?)