
15 Dec
2009
15 Dec
'09
2:04 a.m.
On Mon, Dec 14, 2009 at 6:40 PM, Edward Diener <eldiener@tropicsoft.com> wrote:
Eric Niebler wrote:
Frédéric Bron wrote:
I would like to detect if the return type of a function is void or not within C++03 standard?
<snip>
I solved this problem once while writing a different trait and documented it here:
http://www.boost.org/doc/libs/1_41_0/doc/html/proto/appendices.html#boost_pr...
It's extremely clever, as others have noted, but I am wondering if there is any website, or possibly newsgroup, devoted to advanced TMP techniques such as yours.
Out of curiosity, but doesn't Boost.Function_Types give information about all this, including return type?