3 ms·
Both C and C++ have readability issues. ((void(*)())exec)(); or template <typename T> struct value_type { typedef typename T::value_type type; };
by smitherfield 11y ago
Both C and C++ have readability issues.
((void(*)())exec)();
or
template <typename T>
struct value_type {
typedef typename T::value_type type;
};
template <typename T>
struct value_type<T*> {
typedef T type;
};
Six of one, half a dozen of the other.