Quote Originally Posted by vermarajeev View Post
You told it is bad so what is the other alternative????
An inline function? A template?
See: Effective C++/Scott Meyers/Addison Wesley

For quite some time I try to avoid macros in my code at all. I am not sure, whether it really is in 100% of all cases possible, but up to now for my needs it was always ok.