[Bug libstdc++/39676] std::result_of doesn't work

piotr dot wyderski at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Apr 7 15:47:00 GMT 2009



------- Comment #15 from piotr dot wyderski at gmail dot com  2009-04-07 15:47 -------
Subject: Re:  std::result_of doesn't work

jwakely dot gcc at gmail dot com <gcc-bugzilla@gcc.gnu.org>:

> You want this:
>
> typename std::result_of< decltype(&traits<T>::restore) (S*) >::type

Thank you! :-)

> Paolo, let's close this.

Agreed. :-)

Best regards, Piotr


-- 


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



More information about the Gcc-bugs mailing list