Boost logo

Boost Users :

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


Thansk for the clues. I indeed turned to a traits based solution.

I must admit that, if testing for the result_type typedef is easy,
testing if a template inner class with an a priori unknown number of
template parameters is harder. It's even harder cause I can't use a simple
SFINAE on the result of boost::result_of cause it's defined even if
neither result_of protocols are implemented. I'll try some exhaustive
listing of result possibilities and see what it spawns.


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