|
-
October 15th, 2002, 06:55 AM
#1
Function templates are better than macros?
Hi All,
In one of the books i have read that "Function templates are better alternatives than using macros".
Can anybody please tell me how?
If possible, specify an example.
Though macros aren't type safe,is it possible to perform type checking on macros by any means?
Thanks in Advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|