Please look at the following C++0x lambda related code:
typedef uint64_t (*WEIGHT_FUNC)(void* param);
typedef std::map Callba
If you really insist on not using function<>
then you could probably use decltype:
typedef decltype([](void*)->uint_64{return 0;}) my_lambda_type;
I really don't recommend this though since you're drastically limiting yourself and I don't even know if two lambda's with the same signature are guaranteed to be the same type.