------- Comment #2 from piotr dot wyderski at gmail dot com  2009-04-07 14:05 
-------
(In reply to comment #1)
> Note that *most* of the facilities in <functional> are still following the TR1
> specifications, thus, in general, do not expect conformance to the latest 
> C++0x
> draft (or file a DR for each unimplemented behavior ;)
>

The only C++0x functionality involved I am aware of is decltype,
which is outside of the template scope. BTW, 

boost::function_traits<...>::result_type

works flawlessly. Here is a simplified testcase:

#include <functional>

int main(int argc, char *argv[]) {

    typedef std::result_of<int (long, float)>::type type;
    return 0;
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39676

Reply via email to