MOAB
4.9.3pre
|
#include <Meta.h>
Convenient struct to get the result type of a unary or binary functor.
It supports both the current STL mechanism (using the result_type member) as well as upcoming next STL generation (using a templated result member). If none of these members is provided, then the type of the first argument is returned. FIXME, that behavior is a pretty bad hack.