Answer to Francesco S. Carta2135 (8/6/2010 7:09:15 PM) comp.lang.c++ Purpose of my Macros in short:
o PFUNC(R,N,P) typedef R (*N)(P)
I use this macro to define myself different function pointer types.
These functions look like this:
RETURN_TYPE NAME(PARAMETER_TYPE p... PowerStudent
How can I efficienty define and/or declare hundreds of functions?398 (8/6/2010 5:32:42 PM) comp.lang.c++ I tried to solve this problem the following way:
funcs.h:
#ifndef __FUNCS_H_
#define __FUNCS_H_
#include
// function pointer type definition
#define PFUNC(R,N,P) typedef R (*N)(P)
// if R!=void:... PowerStudent