|
|
|
typedef and pass variable | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Dear all,
Suppose i have a func such as a following func:
////////////////////
template <class T>
Class *makeInstance(T *_class,Method _method,Class* _instance_class,ReturnType _returnType,Parameter1 parameter1,Parameter2 parameter2, Parameter3 parameter3, Parameter4 parameter4){
typedef MyCLass< &_class, ReturnType, Parameter1, Parameter2, Parameter3, Parameter4> cbd;
};
/////////////////////////
In typedef line, i must pass class name as argumnent , how i do it?
When i put a real class name instead of _class my error is solved.
--Best Regards
Mohsen
Attachment:
signature.asc
Description: This is a digitally signed message part