The key trick is to form an expression with the free function, using a declval of the type to probe. What is somewhat tricky is the fact that functions can be void, so we need just to pick up the type and use it in another type expression |
||
|---|---|---|
| .. | ||
| clang-static-init-1.cpp | ||
| clang-static-init-2.cpp | ||
| clang-static-init.hpp | ||
| crash_gdb_jessie-2015-08.sh | ||
| DIR_INFO | ||
| SConscript | ||
| try.cpp | ||